[ 
https://issues.apache.org/jira/browse/CAMEL-24673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115110#comment-18115110
 ] 

Federico Mariani commented on CAMEL-24673:
------------------------------------------

Good point [~kkrawczyk], and thanks for looking into it, I think that the 
webhook approach is clean (from("webhook:openai...")), but I am not entirely 
sure Camel's webhook should still be supported/suggested. [~davsclaus] wdyt? 
should this be implemented via camel-webhook, or a DIY platform-http?

> camel-openai: verify and parse OpenAI webhook events
> ----------------------------------------------------
>
>                 Key: CAMEL-24673
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24673
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-openai
>            Reporter: Federico Mariani
>            Priority: Major
>
> OpenAI notifies webhook endpoints of events such as {{response.completed}}, 
> {{response.failed}}, {{batch.completed}}, fine-tuning and eval runs, and 
> safety alerts. openai-java 4.55 verifies the signature and parses the event 
> with {{webhooks().unwrap()}} and {{verifySignature()}}.
> camel-openai is producer only. A helper usable from a {{platform-http}} 
> route, such as a processor or a data format configured with the webhook 
> secret, would let routes react when background responses (CAMEL-24670) and 
> batches finish instead of polling them.
> Split from CAMEL-24671.
> _Claude Code on behalf of Federico Mariani (Croway)_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to