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

Claus Ibsen resolved CAMEL-27572.
---------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/camel/pull/30869, squash-merged into main.

_Claude Code on behalf of davsclaus_

> 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.24.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)

Reply via email to