Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/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.