James Netherton created CAMEL-23062:
---------------------------------------

             Summary: camel-openai: encodingFormat option does not take effect
                 Key: CAMEL-23062
                 URL: https://issues.apache.org/jira/browse/CAMEL-23062
             Project: Camel
          Issue Type: Bug
          Components: camel-openai
    Affects Versions: 4.18.0
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 4.18.1, 4.19.0


The openai component has a encodingFormat option where you can set the format 
that the embedding is returned in (float or base64).

However, the option is never queried and used to configure the create embedding 
request. So the encoding is always forced to the default.

Since the OpenAI client default encoding format is base64, I propose to set the 
same default for the component encodingFormat option.



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

Reply via email to