Ask a question to get started
Enter to send•Shift+Enter new line
Create a chat prompt template from a template string.
Creates a chat template consisting of a single message assumed to be from the human.
from_template( cls, template: str, **kwargs: Any = {} ) -> ChatPromptTemplate
template
str
Template string
**kwargs
Any
{}
Keyword arguments to pass to the constructor.