Base class for message prompt templates that use a string prompt template.
Create a class from a string template.
Create a class from a template file.
Format the prompt template.
Async format the prompt template.
Format messages from kwargs.
Async format messages from kwargs.
Human-readable representation.
Return True as this class is serializable.
Get the namespace of the LangChain object.
Return a unique identifier for this class for serialization purposes.
Convert the graph to a JSON-serializable format.
Serialize a "not implemented" object.