Developer

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

Developer-provided instructions that the model follows regardless of user messages.

With o1 models and newer, developer messages replace the previous system messages. For developer messages only text content parts are supported.

Constructors

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

Properties

Link copied to clipboard

The developer message content.

Link copied to clipboard
val name: String?

Optional identifier for the participant.