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

Work on CAMEL-28058 started by Andrea Cosentino.
------------------------------------------------
> camel-langchain4j-embeddings: validate response cardinality against input 
> segments
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-28058
>                 URL: https://issues.apache.org/jira/browse/CAMEL-28058
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> The batch producer publishes the result and source segments without checking 
> one embedding per segment. The single path takes the first embedding after 
> checking only that one exists. Reject invalid cardinality before publishing 
> result metadata. Cover missing, short and oversized responses with a fake 
> model.
> AI-generated by Codex on behalf of oscerd.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to