from langchain.prompts.chat import ( AIMessagePromptTemplate, ChatPromptTemplate, HumanMessagePromptTemplate ) from langchain.chains.prompt_selector import ConditionalPromptSelector, is_chat_model from langchain.chat_models import ChatOpenAI
ChatOpenAI
with our OpenAI
module and avoid the error I think?