GOPAL JI GUPTA

Results 1 comments of GOPAL JI GUPTA

@Ruhil-DS **Try creating your agent like so and use ChatPromptTemplate for the question :** ``` from langchain.agents.output_parsers import OpenAIFunctionsAgentOutputParser from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder llm_with_tools = llm.bind(functions=tools) prompt = ChatPromptTemplate.from_messages(...