Parse a single string model output into some structure.
Parse a list of candidate model Generation objects into a specific format.
Async parse a single string model output into some structure.
Parse the output of an LLM call with the input prompt for context.
Instructions on how the LLM output should be formatted.
Return dictionary representation of output parser.
The name of the Runnable. Used for debugging and tracing.
Input type.
Output Type.
The type of input this Runnable accepts specified as a Pydantic model.
Output schema.
List configurable fields for this Runnable.
Get the name of the Runnable.
Get a Pydantic model that can be used to validate input to the Runnable.
Get a JSON schema that represents the input to the Runnable.
Get a Pydantic model that can be used to validate output to the Runnable.
Parse tools from OpenAI response.
Get a JSON schema that represents the output of the Runnable.