import { RunCreateAndPollParams } from "https://deno.land/x/openai@v4.61.1/resources/beta/threads/runs/runs.ts";
const { AdditionalMessage } = RunCreateAndPollParams;
import { type RunCreateAndPollParams } from "https://deno.land/x/openai@v4.61.1/resources/beta/threads/runs/runs.ts";
const { AdditionalMessage } = RunCreateAndPollParams;
Properties
The role of the entity that is creating the message. Allowed values include:
user
: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.assistant
: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation.
optional
attachments: Array<AdditionalMessage.Attachment> | nullA list of files attached to the message, and the tools they should be added to.