What it does
A structured-output toolkit for constraining generation with formats like JSON, regex, and grammars.
Why it belongs here
Structured outputs reduce repair prompts and retry loops. Fewer malformed responses means fewer wasted follow-up calls.
Best use case
Applications that need reliable JSON, classifications, constrained formats, or grammar-bound generation from model output.
How to use it
Constrain output shape at generation time, validate responses, and measure how many retries or repair calls disappear.
Limits
Constrained output solves format reliability, not task quality. Bad instructions can still produce valid but wrong data.