LanguageModelChatRequestMessage

The provider version of {@linkcode LanguageModelChatMessage}.

Online Documentation

Properties

Link copied to clipboard
abstract 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 val name: String?

The optional name of a user for this message.

Link copied to clipboard

The role of this message.