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

x/openai/resources/beta/mod.ts>AssistantStreamEvent.ThreadCreated

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

Occurs when a new thread is created.

Properties

data: ThreadsAPI.Thread

Represents a thread that contains messages.

event: "thread.created"