import { ChatCompletionSnapshot } from "https://deno.land/x/openai@v4.69.0/lib/ChatCompletionStream.ts";
const { Message } = ChatCompletionSnapshot.Choice;
Interfaces
The name and arguments of a function that should be called, as generated by the model. | |
import { type ChatCompletionSnapshot } from "https://deno.land/x/openai@v4.69.0/lib/ChatCompletionStream.ts";
const { Message } = ChatCompletionSnapshot.Choice;
A chat completion delta generated by streamed model responses.
Properties
optional
function_call: Message.FunctionCallThe name and arguments of a function that should be called, as generated by the model.
optional
tool_calls: Array<Message.ToolCall>