-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
.Net: Using ChatResponseFormat.JsonObject when using function calling fails with gpt-4o-mini #8692
Comments
Hi @Simcon, |
I did some further testing based on your suggestion. It looks like it affectes 4o-mini and older 4o models.
However, the OpenAI documentation state these versions are supported: https://platform.openai.com/docs/guides/function-calling/which-models-support-function-calling. The fix for me is to just use gpt-4o-2024-08-06 but it would be good to get the 4o-mini model working since it is much cheaper. |
Thanks for the update @Simcon. I will look to see is there somewhere to post issues against the Azure OpenAI models. |
@Simcon you can go to the follow site to find Azure AI services support and help options |
Describe the bug
Using ChatResponseFormat.JsonObject when using function calling works with gpt-4-turbo, but fails with gpt-4o-mini-2024-07-18.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should work with either model. I have confirmed function calling is supported by the gpt-4o-mini model here and here.
Platform
Additional context
The text was updated successfully, but these errors were encountered: