Class ValidateRewardResponse

Response for the validate_reward method.

Contains the computed reward for a reinforcement tuning reward configuration.

Constructors

Properties

error?: string

Output only. In case of an error, this field will be populated with a detailed error message to help with debugging.

overallReward?: number

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.

rewardInfoDetails?: Record<string, ReinforcementTuningRewardInfo>

A map from reward name to reward info.

sdkHttpResponse?: HttpResponse

Used to retain the full HTTP response.