System

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

A system message.

Constructors

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

Properties

Link copied to clipboard

The system prompt content.

Link copied to clipboard
val name: String?

Optional identifier.