← Blog
Structured Output
NLP/dictionary/structured-output
Definition
Constraining a model's response to a fixed format, usually JSON, that matches a schema, so downstream code can parse it reliably.
Posts that use this term
- Guardrails: schema validation, filtering, and trust
A model's output isn't trusted just because it came from your own system. JSON-mode reliability, schema validation, content filtering, and basic jailbreak resistance.
- Prompting as an engineering discipline
A prompt that runs a thousand times a day needs to be treated like code, not a note you typed once. Few-shot, chain-of-thought, and structured output, with the trade-offs.