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

gpt-4o-mini does handle images #52

Merged
merged 2 commits into from
Jul 22, 2024
Merged

gpt-4o-mini does handle images #52

merged 2 commits into from
Jul 22, 2024

Conversation

ccreutzi
Copy link
Member

@ccreutzi ccreutzi commented Jul 19, 2024

Permit sending images to gpt-4o-mini.

Also, change DescribeImagesUsingChatGPT example to use the default model (now gpt-4o-mini), and while we are editing it anyway, remove the addpath and loadenv lines and use the newer wrapText utility function.

Fixes #51

Permit sending images to gpt-4o-mini.

Also, change `DescribeImagesUsingChatGPT` example to use the default model (now gpt-4o-mini), and while we are editing it anyway, remove the `addpath` and `loadenv` lines and use the newer `wrapText` utility function.
@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.12%. Comparing base (fc1798c) to head (29cf265).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   97.12%   97.12%           
=======================================
  Files          39       39           
  Lines        1287     1287           
=======================================
  Hits         1250     1250           
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/topenAIChat.m Outdated Show resolved Hide resolved
@@ -190,7 +190,7 @@ function assignValueToProperty(property, value)
end

function invalidGenerateInputforModel(testCase)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to add an equivalent positive test for the default gpt-4o-mini model.

@ccreutzi ccreutzi merged commit d42e09d into main Jul 22, 2024
1 check passed
@ccreutzi ccreutzi deleted the openAI-updates branch July 22, 2024 14:58
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.

"image content is not supported for ModelName 'gpt-4o-mini' error
4 participants