import { ChatCompletionAssistantMessageParam } from "https://deno.land/x/openai@v4.61.1/resources/chat/completions.ts";
import { type ChatCompletionAssistantMessageParam } from "https://deno.land/x/openai@v4.61.1/resources/chat/completions.ts";
Properties
optional
content: string | Array<ChatCompletionContentPartText | ChatCompletionContentPartRefusal> | nullThe contents of the assistant message. Required unless tool_calls
or
function_call
is specified.
optional
deprecated
function_call: ChatCompletionAssistantMessageParam.FunctionCall | nullAn optional name for the participant. Provides the model information to differentiate between participants of the same role.
optional
tool_calls: Array<ChatCompletionMessageToolCall>The tool calls generated by the model, such as function calls.