The application supplies a schema or grammar that defines allowed fields and values. It must still validate semantic correctness because syntactic conformance does not guarantee that values are true or appropriate.
Structured output constrains a model response to a machine-readable shape such as a typed JSON object.
The application supplies a schema or grammar that defines allowed fields and values. It must still validate semantic correctness because syntactic conformance does not guarantee that values are true or appropriate.