[ 
https://issues.apache.org/jira/browse/CAMEL-23074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-23074 started by Federico Mariani.
------------------------------------------------
> camel-langchain4j-tools - Handle required Tool parameters and enums
> -------------------------------------------------------------------
>
>                 Key: CAMEL-23074
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23074
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-langchain4j-tools
>    Affects Versions: 4.18.0
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Minor
>             Fix For: 4.19.0
>
>
> at the moment it is not possible to define required tools and enums in 
> camel-langchain4j-tools. Provide a similar behaviour like the camel-spring-ai 
> one.
> For example:
> {code:java}
>       from("langchain4j-tools:weather?tags=weather&description=Get weather 
> forecast"
>         + "&parameter.location=string"
>         + "&parameter.location.description=The city and state"
>         + "&parameter.location.required=true"
>         + "&parameter.unit=string"
>         + "&parameter.unit.description=Temperature unit" 
>         + "&parameter.unit.enum=C,F"
>         + "&parameter.unit.required=false"){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to