Constrained decoding

Restricting allowed continuations during generation to satisfy a format or grammar.

Practical example

The generator allows only continuations compatible with JSON syntax.

Related concept: structured output

AI glossary · Poiskom

All guides