Class ValidateRewardRequest
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Request body of tuningJobs:validateReinforcementTuningReward.
public class ValidateRewardRequest
- Inheritance
-
ValidateRewardRequest
- Inherited Members
- Extension Methods
Properties
CompositeRewardConfig
Composite reward configuration. Mutually exclusive with SingleRewardConfig.
[JsonPropertyName("compositeRewardConfig")]
public CompositeReinforcementTuningRewardConfig? CompositeRewardConfig { get; set; }
Property Value
Example
The example (prompt and references) to validate the reward configuration against.
[JsonPropertyName("example")]
public ReinforcementTuningExample? Example { get; set; }
Property Value
SampleResponse
The sample response to validate the reward configuration against.
[JsonPropertyName("sampleResponse")]
public Content? SampleResponse { get; set; }
Property Value
SingleRewardConfig
Single reward configuration. Mutually exclusive with CompositeRewardConfig.
[JsonPropertyName("singleRewardConfig")]
public SingleReinforcementTuningRewardConfig? SingleRewardConfig { get; set; }