Replies: 1 comment
-
Hi - try api-version=2024-08-01-preview. This should work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi Team, I want to use structure output for gpt4o and I think 2024-08-06 support that. My question is how to use it?
I tried
Does not work with error openai.BadRequestError: Error code: 400 - {'error': {'code': 'BadRequest', 'message': 'response_format value as json_schema is enabled only for api versions 2024-08-01-preview and later'}}
Also tried
Also does not work with 404 error
httpx HTTP Request: POST https://models.inference.ai.azure.com/deployments/gpt-4o/chat/completions?api-version=2024-08-06 "HTTP/1.1 404 Not Found"
Beta Was this translation helpful? Give feedback.
All reactions