Definition

Constraining a model's output to conform to a schema (e.g. JSON Schema) — it guarantees form, not authority or correctness. Schema-valid JSON is not the same as a valid or authorised action.

Used in this bundle

Appears in: structured-outputs, json-schema.

Related terms

function calling, schema grounding.