[
https://issues.apache.org/jira/browse/CAMEL-24566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109719#comment-18109719
]
Claus Ibsen commented on CAMEL-24566:
-------------------------------------
See this example
https://github.com/apache/camel-jbang-examples/tree/main/ai/genai-observability
> CLI GenAI Dependency Auto-Discovery
> -----------------------------------
>
> Key: CAMEL-24566
> URL: https://issues.apache.org/jira/browse/CAMEL-24566
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Omar Atie
> Priority: Major
> Fix For: 4.x
>
>
> h1. CLI GenAI Dependency Auto-Discovery
> Create at [https://issues.apache.org/jira/secure/CreateIssue.jspa] (requires
> ASF login)
> ||Field||Value||
> |*Project*|CAMEL|
> |*Type*|Improvement|
> |*Component*|camel-jbang|
> |*Summary*|camel-jbang: Auto-discover GenAI observability dependencies on
> camel run|
> h2. Description
> When running GenAI routes with the Camel CLI, users currently must pass
> explicit {{--dependency}} flags for:
> * {{camel-langchain4j-chat}}
> * {{camel-ai-observability}}
> * Provider-specific libraries such as {{langchain4j-ollama}}
> Camel CLI should auto-discover these dependencies from route URIs
> ({{{}langchain4j-chat{}}}, {{{}openai{}}}, etc.) and observability settings
> ({{{}--observe{}}} / {{{}camel.aiObservability.enabled{}}}), similar to
> existing component dependency resolution.
> h2. Context
> Requested from GenAI observability blog review ([camel-website PR
> #1734|https://github.com/apache/camel-website/pull/1734]).
> h2. Related
> * CAMEL-17449 — auto-discover dependencies for Quarkus export (related
> pattern)
> After creating, update the blog note in Part 1 to link to the JIRA key.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)