Assistant
fun Assistant(content: String? = null, name: String? = null, toolCalls: List<ToolCall>? = null): ChatMessage
Create an assistant 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..
toolCalls
the tool calls generated by the model, such as function calls.