Table of Contents

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

CompositeReinforcementTuningRewardConfig

Example

The example (prompt and references) to validate the reward configuration against.

[JsonPropertyName("example")]
public ReinforcementTuningExample? Example { get; set; }

Property Value

ReinforcementTuningExample

SampleResponse

The sample response to validate the reward configuration against.

[JsonPropertyName("sampleResponse")]
public Content? SampleResponse { get; set; }

Property Value

Content

SingleRewardConfig

Single reward configuration. Mutually exclusive with CompositeRewardConfig.

[JsonPropertyName("singleRewardConfig")]
public SingleReinforcementTuningRewardConfig? SingleRewardConfig { get; set; }

Property Value

SingleReinforcementTuningRewardConfig