Skip to main content
Module

x/openai/resources/beta/threads/threads.ts>Threads#createAndRunStream

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Threads.prototype.createAndRunStream
import { Threads } from "https://deno.land/x/openai@v4.52.7/resources/beta/threads/threads.ts";

Create a thread and stream the run back

Parameters

optional
options: Core.RequestOptions