Table of Contents

Class ReinforcementTuningExample

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

An example (prompt) used to validate a reinforcement tuning reward configuration.

public class ReinforcementTuningExample
Inheritance
ReinforcementTuningExample
Inherited Members
Extension Methods

Properties

Contents

Multi-turn contents that represent the prompt.

[JsonPropertyName("contents")]
public List<Content>? Contents { get; set; }

Property Value

List<Content>

References

References for the prompt, keyed by reference name.

[JsonPropertyName("references")]
public Dictionary<string, string>? References { get; set; }

Property Value

Dictionary<string, string>

SystemInstruction

System instruction for the prompt.

[JsonPropertyName("systemInstruction")]
public Content? SystemInstruction { get; set; }

Property Value

Content

Tools

Optional. Tools available for the prompt.

[JsonPropertyName("tools")]
public List<Tool>? Tools { get; set; }

Property Value

List<Tool>