Glossary · Phase 1 · Building with LLMs
Structured output
Asking a model to answer in an exact format, such as JSON with set fields, so code can use it.
Learn it properly
Structured output · Get reliable JSON back that your code can use. About 30 minutes.
Other terms from the same lesson
- JSON schema: A precise description of the JSON you expect: which fields, what type each is, and which are required.
- SDK: Software development kit: a ready-made library for calling a service from your code, such as Anthropic's Python SDK.