Package com.google.genai.types
Class CompositeReinforcementTuningRewardConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CompositeReinforcementTuningRewardConfig
Composite reinforcement tuning reward config.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for CompositeReinforcementTuningRewardConfig. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for CompositeReinforcementTuningRewardConfig.Deserializes a JSON string to a CompositeReinforcementTuningRewardConfig object.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
CompositeReinforcementTuningRewardConfig
public CompositeReinforcementTuningRewardConfig()
-
-
Method Details
-
weightedRewardConfigs
public abstract Optional<List<CompositeReinforcementTuningRewardConfigWeightedRewardConfig>> weightedRewardConfigs() -
builder
Instantiates a builder for CompositeReinforcementTuningRewardConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CompositeReinforcementTuningRewardConfig object.
-