Describes the format of a message in an assistant chat. The role key can only be one of user or assistant.

interface MessageModel {
    content: string;
    role: string;
}

Properties

Properties

content: string
role: string