Occurs when a new thread is created.

interface ThreadStreamEvent {
    data: OpenAIClient.Beta.Threads.Thread;
    enabled?: boolean;
    event: "thread.created";
}

Properties

Properties

Represents a thread that contains messages.

enabled?: boolean

Whether to enable input audio transcription.

event: "thread.created"