Prompting

Structured output

Making a model return data in a fixed format, such as JSON matching a schema, so software can read it reliably.

Many APIs can guarantee output that matches a JSON schema. This is essential for extraction, form filling and any workflow where code consumes the result.

All terms

Frequently asked questions

What does Structured output mean?

Making a model return data in a fixed format, such as JSON matching a schema, so software can read it reliably. Many APIs can guarantee output that matches a JSON schema. This is essential for extraction, form filling and any workflow where code consumes the result.