Skip to content

Getting BadRequestError: Error code: 400 - Help Needed #796

Answered by mraguth
mraguth asked this question in Q&A
Discussion options

You must be logged in to vote

Converted to AzureChatOpenAI and it is working now.

llm = AzureChatOpenAI(deployment_name='gpt-35-turbo-16k',
model_name="gpt-35-turbo-16k",
base_url="xxxxxxxxxxxxxxxxxxxx",
api_version="2023-03-15-preview",
api_key = "xxxxxxxxxxxxxxxxxx",
temperature = 0.0
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mraguth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant