Find answers from the community

Updated 2 months ago

Chat engine mode best uses open AI

Chat engine mode best uses open AI function calling, if I'm using azure is there some setup I need to do to allow that to work?

I am getting an OpenAI bad request error as is

openai.BadRequestError: Error code: 400 - {'error': {'message': 'Unrecognized request arguments supplied: tool_choice, tools', 'type': 'invalid_request_error', 'param': None, 'code': None}}
L
m
3 comments
this is with azure? Need to make sure
a) you are using a newer api version
b) you are using a newer model (for whatever reason, gpt-4 doesn't work, but gpt-4 1106 does? That's the only gotcha I've seen)
Okay cool I'll peep that later, ty
Add a reply
Sign up and join the conversation on Discord