Interface ReinforcementTuningExample

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

interface ReinforcementTuningExample {
    contents?: Content[];
    references?: Record<string, string>;
    systemInstruction?: Content;
    tools?: Tool[];
}

Properties

contents?: Content[]

Multi-turn contents that represents the Prompt.

references?: Record<string, string>

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

systemInstruction?: Content

Corresponds to system_instruction in user-facing GenerateContentRequest.

tools?: Tool[]

Optional. Corresponds to tools in user-facing GenerateContentRequest.