Introducing Structured Outputs in the API
OpenAI API now supports Structured Outputs, guaranteeing model responses adhere to developer-supplied JSON Schemas, solving a major reliability pain point for production applications.
Excerpt
We are introducing Structured Outputs in the API—model outputs now reliably adhere to developer-supplied JSON Schemas.
Read at source: https://openai.com/index/introducing-structured-outputs-in-the-api