Developer

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

Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, developer messages replace the previous system messages.

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 developer message. For developer messages, only type text is supported.

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.