AI dictionary

Constrained Decoding

Restricting token generation so output follows a grammar, schema, or allowed set of values.

Plain English

The model can only write answers in shapes your software accepts.

Example

A generation must produce valid JSON that conforms to a strict schema.

Why it matters

Constrained decoding makes AI output more dependable for automation and data pipelines.