System

fun System(content: String? = null, name: String? = null): ChatMessage

Create a system chat message.

Parameters

content

the contents of the message.

name

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