Table of Contents

Class ValidateRewardResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Response of tuningJobs:validateReinforcementTuningReward.

public class ValidateRewardResponse
Inheritance
ValidateRewardResponse
Inherited Members
Extension Methods

Properties

Error

Output only. A detailed error message, if the validation failed.

[JsonPropertyName("error")]
public string? Error { get; set; }

Property Value

string

OverallReward

Output only. The overall (weighted) reward.

[JsonPropertyName("overallReward")]
public double? OverallReward { get; set; }

Property Value

double?

RewardInfoDetails

Output only. The reward details per reward name.

[JsonPropertyName("rewardInfoDetails")]
public Dictionary<string, ReinforcementTuningRewardInfo>? RewardInfoDetails { get; set; }

Property Value

Dictionary<string, ReinforcementTuningRewardInfo>