Andrea Cosentino created CAMEL-28058:
----------------------------------------
Summary: 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
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)