-
Notifications
You must be signed in to change notification settings - Fork 10
feat: multimodal endpoint for image to text #144
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
base: main
Are you sure you want to change the base?
Conversation
… + image format validator
…o google/gemma-3-4b-it
…r tests + added multimodal e2e tests
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.
You need to check the API Model changes as they break tool calling and make them more similar to what OpenAI support for image_url
is.
The PR is overall good 👍 Good job.
…tent from chat completions
…nhance system message updates
… user query from messages
…dal completion tests
…ndling for multimodal content
…d improved error handling for multimodal content
class Message(ChatCompletionMessage): | ||
role: Literal["system", "user", "assistant", "tool"] # type: ignore |
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.
class Message (ChatCompletionMessageParam):
pass
This PR adds multimodal support to the chat completion endpoint