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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface ThreadCreateAndRunParamsStreaming
implements ThreadCreateAndRunParamsBase
import { type ThreadCreateAndRunParamsStreaming } from "https://deno.land/x/openai@v4.69.0/resources/beta/threads/mod.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.