Package version:

Interface MessageDelta

Represents the typed 'delta' payload within a streaming message delta chunk.

interface MessageDelta {
    content: {};
    role: MessageRole;
}

Properties

Properties

content: {}

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

The entity that produced the message.