OpenAI API from A to Z · Lesson 5
Structured Outputs and JSON Schema
response_format: { type: 'json_schema', json_schema: {...} } with strict: true vs the old JSON mode. Validation with Zod.
response_format: { type: 'json_schema', json_schema: {...} } with strict: true vs the old JSON mode. Validation with Zod.