Interface ChatMessageModel

Describes the format of a message in a chat.

MessageModel

interface ChatMessageModel {
    content?: string;
    role?: string;
}

Properties

Properties

content?: string

The textual content of this partial message.

MessageModel

role?: string

The role of the message author, it can be user, assistant, or system.

MessageModel