[
https://issues.apache.org/jira/browse/CAMEL-23074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani updated CAMEL-23074:
-------------------------------------
Summary: camel-langchain4j-tools - Handle required Tool parameters and
enums (was: camel-langchain4j-tools - Handle required Tool parameters, enums
and description)
> 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, enums and
> description 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"
> + "¶meter.location=string"
> + "¶meter.location.description=The city and state"
> + "¶meter.location.required=true"
> + "¶meter.unit=string"
> + "¶meter.unit.description=Temperature unit"
> + "¶meter.unit.enum=C,F"
> + "¶meter.unit.required=false"){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)