import { ThreadCreateAndRunPollParams } from "https://deno.land/x/openai@v4.33.1/resources/beta/threads/threads.ts";
const { Thread } = ThreadCreateAndRunPollParams;
import { type ThreadCreateAndRunPollParams } from "https://deno.land/x/openai@v4.33.1/resources/beta/threads/threads.ts";
const { Thread } = ThreadCreateAndRunPollParams;
If no thread is provided, an empty thread will be created.
Properties
optional
messages: Array<Thread.Message>A list of messages to start the thread with.