[
https://issues.apache.org/jira/browse/CAMEL-27572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani updated CAMEL-27572:
-------------------------------------
Fix Version/s: 4.25.0
(was: 4.24.0)
> camel-ibm-watsonx-ai - chat options of the SDK: structured output, guided
> decoding, reasoning, guardrails, and streaming with tools
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27572
> URL: https://issues.apache.org/jira/browse/CAMEL-27572
> Project: Camel
> Issue Type: Improvement
> Components: camel-ai
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.25.0
>
>
> {{chat}} sends 5 of the parameters the SDK supports, {{deploymentChat}} sends
> none, and {{chatStreaming}} ignores the tools and returns text only. Expose
> the SDK chat parameters as endpoint options with plain headers, so YAML and
> XML routes can use them too:
> * structured output: response format (text, JSON object, JSON schema with
> strict)
> * guided decoding: choice, regex, grammar
> * seed, stop sequences, number of choices, per-request model
> * reasoning: thinking, include reasoning, reasoning effort, extraction tags;
> the reasoning of the answer in a header
> * chat guardrails (moderations): HAP, PII, Granite Guardian, with the
> findings in a header
> * tool choice
> * streaming: tools and tool calls, the same headers as {{chat}}, fail on the
> first stream error, a bounded wait, and an endpoint to send the chunks to
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)