Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/messages/mod.ts>MessageDelta

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface MessageDelta
import { type MessageDelta } from "https://deno.land/x/openai@v4.29.0/resources/beta/threads/messages/mod.ts";

The delta containing the fields that have changed on the Message.

Properties

optional
content: Array<MessageContentDelta>

The content of the message in array of text and/or images.

optional
file_ids: Array<string>

A list of file IDs that the assistant should use. Useful for tools like retrieval and code_interpreter that can access files. A maximum of 10 files can be attached to a message.

optional
role: "user" | "assistant"

The entity that produced the message. One of user or assistant.