Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/assistants.ts>MessageStreamEvent

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace MessageStreamEvent
import { MessageStreamEvent } from "https://deno.land/x/openai@v4.38.3/resources/beta/assistants.ts";

Interfaces

Occurs when a message is completed.

Occurs when a message is created.

Occurs when parts of a Message are being streamed.

Occurs when a message ends before it is completed.

Occurs when a message moves to an in_progress state.

type alias MessageStreamEvent
import { type MessageStreamEvent } from "https://deno.land/x/openai@v4.38.3/resources/beta/assistants.ts";

Occurs when a message is created.

definition:
| MessageStreamEvent.ThreadMessageCreated
| MessageStreamEvent.ThreadMessageInProgress
| MessageStreamEvent.ThreadMessageDelta
| MessageStreamEvent.ThreadMessageCompleted
| MessageStreamEvent.ThreadMessageIncomplete