Interface CompositeReinforcementTuningRewardConfigWeightedRewardConfig

Composite reinforcement tuning reward config weighted reward config.

interface CompositeReinforcementTuningRewardConfigWeightedRewardConfig {
    rewardConfig?: SingleReinforcementTuningRewardConfig;
    weight?: number;
}

Properties

Single reward configuration.

weight?: number

How much this single reward contributes to the total overall reward. Total reward is a linear combination of single rewards with their corresponding weights, i.e., total_reward = ( weight_a * reward_a + weight_b * reward_b + ... ) / (weight_a + weight_b + ...)