User

@Serializable
@SerialName(value = "user")
data class User(val text: String) : ChatMessage

What the user said.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard
open override val text: String

The text of the message. Empty for an assistant message that only asks for tools.