OpenAI|Introducing Structured Outputs in the API

OpenAI introduces Structured Outputs in the API, ensuring model-generated outputs exactly match developer-supplied JSON Schemas. This new feature addresses the limitations of the previous JSON mode by guaranteeing schema conformity with the gpt-4o-2024-08-06 model, achieving 100% reliability. The feature supports function calling with strict output matching and a new response_format parameter for structured responses. Both Python and Node SDKs have been updated to support this functionality.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *