The definition of a system message.

interface TextChatMessageSystem {
    content: string;
    name?: string;
    role: "system";
}

Hierarchy (view full)

Properties

Properties

content: string

The contents of the system message.

name?: string

An optional name for the participant.

role: "system"

The role of the messages author. Note that this parameter is case sensitive, make sure to use lower case.