Support JSON strict mode for AzureChatOpenAI class for the method with_structured_output #26133
ramki-zania
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Any updates about when this will be added? I am assuming this should be a simple fix as it is already implemented for ChatOpenAI and the azure api supports the new json_schema alternative and the strict option. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
Currently, with_structured_output method in AzureChatOpenAI only supports ['function_calling', 'json_mode'] but ChatOpenAI supports ['function_calling', 'json_mode', 'json_schema'].
For gpt-4o-mini-2024-07-18 and gpt-4o-2024-08-06 can have json_schema support for AzureChatOpenAI as well
Motivation
We use Azure OpenAI models for our production, having the new strict json mode would simplify our post-processing setup
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions