IntermediateVocabulary#OpenAI#structured outputs#JSON schema#API

OpenAI Structured Outputs API Exercises

OpenAI's Structured Outputs feature guarantees LLM responses conform to a JSON schema using constrained decoding. These exercises cover JSON mode vs. structured outputs, schema restrictions, strict mode for tools, and the Python SDK's parse() helper.

0 / 5 completed
1 / 5
A developer sets response_format: { type: 'json_object' } in a ChatCompletion call. What does this guarantee?