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

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

Properties

Properties

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

role?: "user" | "assistant"

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