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

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

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