import { ChatCompletionMessage } from "https://deno.land/x/openai@v4.68.2/resources/chat/completions.ts";
import { type ChatCompletionMessage } from "https://deno.land/x/openai@v4.68.2/resources/chat/completions.ts";
A chat completion message generated by the model.
Properties
optional
audio: ChatCompletionAudio | nullIf the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
optional
deprecated
function_call: ChatCompletionMessage.FunctionCall | nulloptional
tool_calls: Array<ChatCompletionMessageToolCall>The tool calls generated by the model, such as function calls.