ChatCompletionMessageToolCall
objectThe ID of the tool call.
The type of the tool. Currently, only function is supported.
Allowed values:function
The function that the model called.
Show Child Parameters
ChatCompletionMessageToolCallChunk
objectThe ID of the tool call.
The type of the tool. Currently, only function is supported.
Allowed values:function
Show Child Parameters
ChatCompletionMessageToolCalls
arrayThe tool calls generated by the model, such as function calls.
The ID of the tool call.
The type of the tool. Currently, only function is supported.
Allowed values:function
The function that the model called.
Show Child Parameters
ChatCompletionModalities
arrayOutput types that you would like the model to generate for this request.
Most models are capable of generating text, which is the default:
["text"]
The gpt-4o-audio-preview model can also be used to generate audio. To
request that this model generate both text and audio responses, you can
use:
["text", "audio"]
ChatCompletionNamedToolChoice
objectSpecifies a tool the model should use. Use to force the model to call a specific function.
The type of the tool. Currently, only function is supported.
Allowed values:function