Validate Reward Response
@Serializable
Response for the validate_reward method.
Contains the computed reward for a reinforcement tuning reward configuration.
Constructors
Link copied to clipboard
constructor(sdkHttpResponse: HttpResponse? = null, overallReward: Double? = null, error: String? = null, rewardInfoDetails: Map<String, ReinforcementTuningRewardInfo>? = null)
Properties
Link copied to clipboard
Output only. The overall weighted reward. For a CompositeReinforcementTuningRewardConfig, this is the weighted average of all rewards. For a SingleReinforcementTuningRewardConfig, this will be the value of the single reward.
Link copied to clipboard
A map from reward name to reward info.
Link copied to clipboard
Used to retain the full HTTP response.