AI glossary
What is Structured Output?
Getting a model to return machine-readable data, usually JSON that matches a schema, instead of free text.
Use native schema modes where available, then always parse and validate (for example with Pydantic or Zod), and retry with the error message on failure.