import { ChatCompletionChunk } from "https://deno.land/x/openai@v4.19.1/resources/mod.ts";
const { Delta } = ChatCompletionChunk.Choice;
Interfaces
Deprecated and replaced by | |
import { type ChatCompletionChunk } from "https://deno.land/x/openai@v4.19.1/resources/mod.ts";
const { Delta } = ChatCompletionChunk.Choice;
A chat completion delta generated by streamed model responses.
Properties
optional
function_call: Delta.FunctionCallDeprecated and replaced by tool_calls
. The name and arguments of a function
that should be called, as generated by the model.
optional
tool_calls: Array<Delta.ToolCall>