Make your LLM outputs fit the format you need.
Guides developers in writing constrained LLM generation code that produces structured outputs and multi-step workflows.
When to use it
Use when LLM output must follow regex patterns, grammars, or structured formats, or when building multi-step generation workflows.
It changes how the agent writes LLM generation code by using Guidance constraints, fixed selections, and reusable generation functions.
What you provide
The generation examples use the guidance Python library.
The examples and generation workflows are written in Python; no runtime version is specified.
Enables the Anthropic API backend as an alternative to local models; the key can be read from the environment or supplied explicitly through api_key.
Enables the OpenAI API backend as an alternative to local models; the key can be read from the environment or supplied explicitly through api_key.
No additional actions listed.