Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/mod.ts>Threads#create

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

Create a thread.

Parameters

optional
body: ThreadCreateParams
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Thread>

Parameters

optional
options: Core.RequestOptions

Returns

Core.APIPromise<Thread>