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

x/openai/resources/beta/threads/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.41.1/resources/beta/threads/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
role: "user" | "assistant"

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