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

Claus Ibsen commented on CAMEL-24672:
-------------------------------------

Fixed by https://github.com/apache/camel/pull/26360 (merged as 360734d228c7 on 
main, fix version 4.23.0).

_Claude Code on behalf of davsclaus_

> camel-openai: moderate images with the moderation operation
> -----------------------------------------------------------
>
>                 Key: CAMEL-24672
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24672
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-openai
>            Reporter: Federico Mariani
>            Assignee: Karol Krawczyk
>            Priority: Major
>             Fix For: 4.23.0
>
>
> {{omni-moderation-latest}} accepts {{image_url}} inputs, a URL or a base64 
> data URL, alongside text. The {{moderation}} operation only sends text, so a 
> route cannot screen uploaded images before processing them.
> Accept image bodies ({{byte[]}}, {{InputStream}}, files) as 
> {{chat-completion}} does for vision input, and send them through the 
> multi-modal input of {{ModerationCreateParams}}, available in openai-java 
> 4.55.
> 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