[
https://issues.apache.org/jira/browse/CAMEL-24339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101641#comment-18101641
]
Claus Ibsen commented on CAMEL-24339:
-------------------------------------
_Claude Code on behalf of davsclaus_
After investigating the codebase, here is a concrete proposal:
*Approach: Add a new primary scheme name, keep openai as an alias*
The Camel {{@UriEndpoint}} annotation already supports multiple scheme names
via comma-separated values. This means we can register a new scheme alongside
{{openai}} for full backward compatibility.
*Suggested name: llm*
- {{llm:chat-completion}} — short, intuitive, exactly what users would search
for when looking for an LLM connector
- Covers the full scope of the component (chat, embeddings, audio,
tool-execution are all LLM operations)
- The component title would become "LLM" with a description like "LLM component
for chat completion, embeddings, and audio using the OpenAI-compatible API"
*What changes:*
# Scheme: {{scheme = "llm,openai"}} — {{llm}} becomes primary, {{openai}} stays
as a working alias
# Title/description: update catalog metadata and doc page titles to lead with
"LLM"
# Documentation: rename .adoc files from {{openai-*}} to {{llm-*}}, update
cross-references
# Upgrade guide entry documenting the new primary scheme
*What stays the same:*
- Java classes, package name ({{org.apache.camel.component.openai}}) — they
reference the underlying OpenAI Java SDK
- Maven artifact ({{camel-openai}}) — the implementation is built on the OpenAI
SDK
- Header constants ({{CamelOpenAI*}}) — renaming 50 public API constants would
break user code for no discoverability gain
- Existing routes using {{openai:chat-completion}} continue to work unchanged
This gives new users discoverability under a generic name ({{llm}}) while
preserving full backward compatibility for existing users.
> camel-openai - Can the name be updated to better hint it works for many
> vendor LLMs
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-24339
> URL: https://issues.apache.org/jira/browse/CAMEL-24339
> Project: Camel
> Issue Type: Task
> Components: camel-ai
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.22.0
>
>
> The openai is making people think its for this vendor only. But its openai
> compatible, which a lot of LLMs are today, so you can use it with many.
>
> Before the LTS release we have a chance to do a last minute rename if we can
> come up with a better name.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)