Interface MessageModel

The MessageModel describes the format of a message in a chat.

Export

MessageModel

Hierarchy

  • MessageModel

Properties

Properties

content?: string

Content of the message

Memberof

MessageModel

role?: string

Role of the message such as 'user' or 'assistant'

Memberof

MessageModel