Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>CreateThreadParams

OpenAI API wrapper for deno.
Latest
interface CreateThreadParams
implements HasMetadata
Re-export
import { type CreateThreadParams } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Properties

optional
messages: (CreateMessageParams & { role: "user" | string; content: string; })[]

A list of messages to start the thread with.