'AzureOpenAI' object has no attribute 'create' #25272
Replies: 1 comment 5 replies
-
Hey there, @VaibhavChemboli116! I'm here to help you with the issue you're facing. I'm a bot designed to assist with bug fixes, answer questions, and guide you in becoming a contributor. Let's tackle this together! The error occurs because the
Make sure to replace |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I am trying to run the mentioned langchain agent. I have gpt-4o model and text-emdedding-ada-002 model deployed in my azure account. I am able to access both the models using AzureOpenAI and I am able to create embeddings and get response too. But if I try to build agent I am facing the mentioned error.
System Info
Name: langchain
Version: 0.2.12
Name: langchain-community
Version: 0.2.10
Name: langchain-experimental
Version: 0.0.64
Name: openai
Version: 1.40.3
Beta Was this translation helpful? Give feedback.
All reactions