- Glossary
- Structured outputs
Glossary term
Structured outputs
Making a model return data that matches a defined schema, such as JSON with required fields and types.
Also called structured output.
Open lesson 14.1
JSON schemas for output · Chapter 14, and 3 more lessons below
In plain words
Schema-constrained output removes parse failures. Validate anyway, and allow null for fields that may be missing.
Taught in
Also in these lessons
max_tokensOutput tokensParallelizationPrefillingSamplingStop reasonStop sequenceTemperatureTool use