A list of the names of the variables whose values are required as inputs to the
A list of the names of the variables for placeholder or MessagePlaceholder that
A dictionary of the types of the variables the prompt template expects.
Validate variable names do not include restricted names.
Get the namespace of the LangChain object.
Return True as this class is serializable.
Get the input schema for the prompt.
Invoke the prompt.
Async invoke the prompt.
Return a partial of the prompt template.
Return dictionary representation of prompt.
Save the prompt.
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.
Base class for chat prompt templates.
Get a JSON schema that represents the output of the Runnable.