ReinforcementTuningExample

@Serializable
data class ReinforcementTuningExample(val contents: List<Content>? = null, val references: Map<String, String>? = null, val systemInstruction: Content? = null)

User-facing format for Gemini Reinforcement Tuning examples on Vertex.

Constructors

Link copied to clipboard
constructor(contents: List<Content>? = null, references: Map<String, String>? = null, systemInstruction: Content? = null)

Properties

Link copied to clipboard
val contents: List<Content>? = null

Multi-turn contents that represents the Prompt.

Link copied to clipboard
val references: Map<String, String>? = null

References for the given prompt. The key is the name of the reference, and the value is the reference itself.

Link copied to clipboard

Corresponds to system_instruction in user-facing GenerateContentRequest.