-
-
Notifications
You must be signed in to change notification settings - Fork 103
[Platform][OpenAI] Add file input normalizer #357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
One thing that got me thinking is that we use the OpenAI contract mostly as default - meaning that the normalizers are mostly in namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, would love to merge that - one tiny thing noted about the normalizer name.
2907714
to
e621538
Compare
Thank you @glengemann. |
Hi there!
Currently, if you try to add a file into the message input, the following error is thrown:
This PR adds support for including files as inputs in the OpenAI completions API, as described in the official documentation. The implementation follows the same approach already used for Gemini and Anthropic.