import { ThreadCreateAndRunParams } from "https://deno.land/x/openai@v4.19.0/resources/beta/mod.ts";
const { Thread } = ThreadCreateAndRunParams;
import { type ThreadCreateAndRunParams } from "https://deno.land/x/openai@v4.19.0/resources/beta/mod.ts";
const { Thread } = ThreadCreateAndRunParams;
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.