API Reference
This page contains the API reference for public objects and functions in Guidance.
functions
|
Generate a set of tokens until a given stop criteria has been met. |
|
Choose between a set of options. |
|
Generate valid JSON according to the supplied JSON schema or pydantic model. |
context blocks
|
|
|
Indicate the 'system' prompt |
|
Indicate the 'user' prompt |
|
Indicate the 'assistant' prompt |
models
|
The base guidance model object, which represents a model in a given state. |
|
|
|
|
|
Represents an Anthropic model as exposed through their remote API. |
|
Represents an Azure OpenAI model as exposed through their remote API. |
|
|
|
|
|
|
|
|
|