Find answers from the community

Updated 6 months ago

Chat engine mode best uses open AI

At a glance

The community member is using Azure and is experiencing an OpenAI bad request error when trying to use the OpenAI function calling feature in their chat engine mode. The comments suggest that the community member should check if they are using a newer API version and a newer model, as the community member notes that for some reason, GPT-4 doesn't work but GPT-4 1106 does. The community member acknowledges this suggestion and says they will look into it later.

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