User

@SerialName(value = "user")
class User(val content: Content, val name: String? = null) : OpenAIMessage(source)

Messages sent by an end user, containing prompts or additional context information.

Constructors

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

Properties

Link copied to clipboard
open override val content: Content

The contents of the user message.

Link copied to clipboard
val name: String? = null

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