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

x/openai/resources/beta/mod.ts>ThreadStreamEvent

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ThreadStreamEvent
import { type ThreadStreamEvent } from "https://deno.land/x/openai@v4.61.1/resources/beta/mod.ts";

Occurs when a new thread is created.

Properties

data: ThreadsAPI.Thread

Represents a thread that contains messages.

event: "thread.created"