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

interface MessageDelta {
    content?: MessageContentDelta[];
    role?: "assistant" | "user";
}

Properties

Properties

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

role?: "assistant" | "user"

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