import { ChatCompletionSnapshot } from "https://deno.land/x/openai@v4.33.0/lib/ChatCompletionStream.ts";
Interfaces
A chat completion delta generated by streamed model responses. | |
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.33.0/lib/ChatCompletionStream.ts";
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
Properties
choices: Array<ChatCompletionSnapshot.Choice>
A list of chat completion choices. Can be more than one if n
is greater
than 1.