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

x/openai/resources/beta/threads/threads.ts>ThreadCreateAndRunParamsStreaming

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

Properties

stream: true

If true, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a data: [DONE] message.