Introducing Structured Outputs in the API
OpenAI Blog
Anthropic added Structured Outputs to its API, enabling model responses to reliably conform to developer-specified JSON Schemas. The feature works with Claude 3.5 Sonnet and Claude 3.5 Haiku models. This allows developers to programmatically parse and integrate model outputs without additional validation or error handling.
Why it matters
We are introducing Structured Outputs in the API—model outputs now reliably adhere to developer-supplied JSON Schemas.