Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UserMessage

Represents a single instance of user message.

Properties

Optional content

content: Array<ChatContent>

Contents of the chat message.

Optional name

name: undefined | string

An optional name for the participant. Provides the model information to differentiate between participants of the same role.

Const role

role: string = "USER"

Methods

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Message): object

getJsonObj