classmethod validate(value: Any) → Model¶
property input_variables: List[str]¶
Input variables for this prompt template.
Returns
List of input variable names.
property lc_attributes: Dict¶
Return a list of attribute names that should be included in the
serialized kwargs. These attributes must be accepted by the
constructor.
property lc_namespace: List[str]¶
Return the namespace of the langchain object.
eg. [“langchain”, “llms”, “openai”]
property lc_secrets: Dict[str, str]¶
Return a map of constructor argument names to secret ids.
eg. {“openai_api_key”: “OPENAI_API_KEY”}
property lc_serializable: bool¶
Whether this object should be serialized.
Returns
Whether this object should be serialized.
Examples using HumanMessagePromptTemplate¶
Anthropic
OpenAI
Google Cloud Platform Vertex AI PaLM 
JinaChat
Context
Figma
Structure answers with OpenAI functions
CAMEL Role-Playing Autonomous Cooperative Agents
Multi-agent authoritarian speaker selection
How to add Memory to an LLMChain
Retry parser
Pydantic (JSON) parser
Prompt Pipelining
Using OpenAI functions
Retrieval QA using OpenAI functions