interface ChatCompletionStreamEvents
implements AbstractChatCompletionRunnerEvents
import { type ChatCompletionStreamEvents } from "https://deno.land/x/openai@v4.69.0/lib/ChatCompletionStream.ts";
Properties
chunk: (chunk: ChatCompletionChunk, snapshot: ChatCompletionSnapshot) => void
content.delta: (props: ContentDeltaEvent) => void
content.done: (props: ContentDoneEvent<ParsedT>) => void
refusal.delta: (props: RefusalDeltaEvent) => void
refusal.done: (props: RefusalDoneEvent) => void
tool_calls.function.arguments.delta: (props: FunctionToolCallArgumentsDeltaEvent) => void
tool_calls.function.arguments.done: (props: FunctionToolCallArgumentsDoneEvent) => void
logprobs.content.delta: (props: LogProbsContentDeltaEvent) => void
logprobs.content.done: (props: LogProbsContentDoneEvent) => void
logprobs.refusal.delta: (props: LogProbsRefusalDeltaEvent) => void
logprobs.refusal.done: (props: LogProbsRefusalDoneEvent) => void