User

@Serializable
@SerialName(value = "user")
data class User(val content: OpenAIChatCompletionContent, val name: String? = null) : OpenAIMessageParam

A user message.

Constructors

Link copied to clipboard
constructor(content: OpenAIChatCompletionContent, name: String? = null)

Properties

Link copied to clipboard

The message content.

Link copied to clipboard
val name: String?

Optional identifier for the user.