import { ChatCompletionMessage } from "https://deno.land/x/openai@v4.51.0/resources/chat/completions.ts";
import { type ChatCompletionMessage } from "https://deno.land/x/openai@v4.51.0/resources/chat/completions.ts";
A chat completion message generated by the model.
Properties
optional
deprecated
function_call: ChatCompletionMessage.FunctionCalloptional
tool_calls: Array<ChatCompletionMessageToolCall>The tool calls generated by the model, such as function calls.