Assistant

fun Assistant(content: JsAny, name: String = definedExternally): LanguageModelChatMessage(source)

Utility to create a new assistant message.

Parameters

content

The content of the message.

name

The optional name of a user for the message.

Online Documentation