Skip to main content
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.61.1/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"