Not able to use GPT4 model with AzureOpenAI from from langchain.llms #3132
Unanswered
srithedesigner
asked this question in
Q&A
Replies: 3 comments 1 reply
-
same issue |
Beta Was this translation helpful? Give feedback.
1 reply
-
I am facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
@srithedesigner have you tried langchain's AzureChatOpenAI? This works fine for me and I believe is the correct client for ChatCompletion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We used to use AzureOpenAI llm from langchain.llms with the text-davinci-003 model but after deploying GPT4 in Azure when trying to use GPT4, this error is being thrown:
Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>
This is how we are initializing the model:
How do we use GPT4 withe the AzureOpenAI chain? Is it currently being supported? or are we initializing it wrong?
Beta Was this translation helpful? Give feedback.
All reactions