Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Message

An message that represents a single dialogue of chat

Properties

content

content: Array<ChatContent>

Contents of the chat message.

role

role: string

Indicates who is giving the current message.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Message): object

getJsonObj