async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

How do I add additional params to function calls for chat completions?

Open azambuilds opened this issue 9 months ago • 0 comments

I'm trying to pass a function tool to a chat completion, but I want to add the "strict": true additional param, but it looks like additional params isn't supported on the ChatCompletionFunctionsArgs builder?

It seems to be supported by the FunctionObjectBuilder, but going through the docs it looks like that's only for the assistants api? I want to use the function calling for chat completions api.

azambuilds avatar Feb 05 '25 01:02 azambuilds