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

x/openai/resources/beta/assistants.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.61.1/resources/beta/assistants.ts";
const { ThreadCreated } = AssistantStreamEvent;

Occurs when a new thread is created.

Properties

data: ThreadsAPI.Thread

Represents a thread that contains messages.

event: "thread.created"