Skip to content
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

Add new model: GPT-4o #313

Merged
merged 2 commits into from
May 15, 2024
Merged

Conversation

axelknock
Copy link
Contributor

OpenAI has released a new model called GPT-4o, or "GPT-4 Omni". More information here.

@johanvts johanvts mentioned this pull request May 14, 2024
@karthink
Copy link
Owner

@axelknock thanks for the PR! I'm aware of gpt-4o but haven't added it because I'm not sure about this. As I understand, gpt-4o can respond to text queries with images, like Dall-E etc. Is this true? gptel is not set up to handle base64-encoded images in responses, so this can break things.

@axelknock
Copy link
Contributor Author

Currently image generation is unavailable, and I could find no definitive answer on its future broad availability. I looked at the Dalle-3 documentation and found that the API can respond with both an image or a URL for an image, depending on the response format parameter.

If this parameter were available on the 4o response, would always sending it as URL be an option?

@karthink karthink merged commit 1455854 into karthink:master May 15, 2024
@karthink
Copy link
Owner

Okay, we'll worry about it when image generation with gpt-4o is turned on. If we can't fix it easily I can make gptel display a warning when the model is chosen.

Thanks again for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants