LanguageModelChatRequestMessage

Properties

Link copied to clipboard
abstract external val content: ReadonlyArray<JsAny>

A heterogeneous array of things that a message can contain as content. Some parts may be message-type specific for some models.

Link copied to clipboard
abstract external val name: String?

The optional name of a user for this message.

Link copied to clipboard
abstract external val role: LanguageModelChatMessageRole

The role of this message.