Introducing Structured Outputs in the API
OpenAI Blog 1 year ago
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.