Ask a question to get started
Enter to send•Shift+Enter new line
BaseStringMessagePromptTemplate( self, *args: Any = (), **kwargs: Any = {} )
BaseMessagePromptTemplate
ABC
Return True as this class is serializable.
True
Get the namespace of the LangChain object.
Print a human-readable representation.
A map of constructor argument names to secret ids.
List of attribute names that should be included in the serialized kwargs.
Is this class serializable?
Return a unique identifier for this class for serialization purposes.
Serialize the object to JSON.
Serialize a "not implemented" object.
String prompt template.
Additional keyword arguments to pass to the prompt template.
Input variables for this 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.
Base class for message prompt templates that use a string prompt template.