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

Support OpenAI gpt-4o and gpt-4o-mini for img2text #4300

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

hrchu
Copy link
Contributor

@hrchu hrchu commented Dec 31, 2024

What problem does this PR solve?

OpenAI has deprecated the gpt-4-vision-preview model. This PR adds support for the newer gpt-4o and gpt-4o-mini models in the img2text feature.

image

This PR add addtional 4o/4o-mini entry for img2text besides original ones. Utilized alias model names (e.g., gpt-4o-2024-08-06) because the database schema uses the model name as the primary key.

  • Other (please describe): model update

@hrchu hrchu changed the title Support Open AI gpt-4o and gpt-4o-mini for img2text Support OpenAI gpt-4o and gpt-4o-mini for img2text Dec 31, 2024
@KevinHuSh KevinHuSh merged commit accd3a6 into infiniflow:main Dec 31, 2024
2 checks passed
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.

2 participants