User

fun User(content: ERROR CLASS: Symbol not found for JsAny, name: String = definedExternally): LanguageModelChatMessage(source)

Utility to create a new user message.

Parameters

content

The content of the message.

name

The optional name of a user for the message.

Online Documentation