Closed ma26yank closed 7 months ago
I Fixed the problem. The issue was while importing AzureChatOpenAI. Instead of importing it from langchain_community.chat_models I imported it from langchain-openai which was a warning I was getting as well.
It fixed my problem! btw I am using Langchain 0.1.0
Hi team,
My Organizational need requires using Azure Services for building a RAG model and while building Routing model I encountered an issue. Below is my code:
Importing libraries
Data model
LLM with function call
When I initiate structured_llm, it gives me below error:
Traceback:
Is there something I can do to fix it?