Federico Mariani created CAMEL-24672:
----------------------------------------

             Summary: 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


{{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