I’m new to langchain & I’m using langchain-0.2.12 langchain-core-0.2.28
in my spyder 4.1.4
. I’m trying to use prompt template. So I’m Importing necessary packages using following statement
from langchain.prompts import ChatPromptTemplate,PromptTemplate,SystemMessagePromptTemplate,AIMessagePromptTemplate,HumanMessagePromptTemplate
from langchain.schema import AIMessage,HumanMessage,SystemMessage
But I’m getting undefined name HumanMessagePromtTemplate
error in this code human_message_prompt=HumanMessagePromtTemplate.from_template(human_template)
Can you please help me to resolve this issue?
1