[
https://issues.apache.org/jira/browse/CAMEL-24674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18117245#comment-18117245
]
Claus Ibsen commented on CAMEL-24674:
-------------------------------------
Fixed by https://github.com/apache/camel/pull/26601
_Claude Code on behalf of davsclaus_
> camel-openai: support the Batch API
> -----------------------------------
>
> Key: CAMEL-24674
> URL: https://issues.apache.org/jira/browse/CAMEL-24674
> Project: Camel
> Issue Type: New Feature
> Components: camel-openai
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.23.0
>
>
> The Batch API runs requests to {{/v1/responses}}, {{/v1/chat/completions}},
> {{/v1/embeddings}}, {{/v1/moderations}}, {{/v1/images/generations}},
> {{/v1/images/edits}} and {{/v1/videos}} offline at a lower price. It reads a
> JSONL input file uploaded with the Files API and writes the results to an
> output file, a natural fit for file-based integration flows.
> openai-java 4.55 exposes {{batches()}} (create, retrieve, list, cancel) and
> {{files()}} (create, retrieve, content, delete). Operations to upload the
> input, create and poll the batch, and download the results would cover the
> flow. The {{batch.completed}} webhook can signal completion instead of
> polling.
> Split from CAMEL-24671.
> _Claude Code on behalf of Federico Mariani (Croway)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)