Class ReinforcementMethod
-
- All Implemented Interfaces:
public final class ReinforcementMethodConfiguration for the reinforcement fine-tuning method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classReinforcementMethod.BuilderA builder for ReinforcementMethod.
public final classReinforcementMethod.GraderThe grader used for the fine-tuning job.
-
Method Summary
Modifier and Type Method Description final ReinforcementMethod.Gradergrader()The grader used for the fine-tuning job. final Optional<ReinforcementHyperparameters>hyperparameters()The hyperparameters used for the reinforcement fine-tuning job. final JsonField<ReinforcementMethod.Grader>_grader()Returns the raw JSON value of grader. final JsonField<ReinforcementHyperparameters>_hyperparameters()Returns the raw JSON value of hyperparameters. final Map<String, JsonValue>_additionalProperties()final ReinforcementMethod.BuildertoBuilder()final ReinforcementMethodvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ReinforcementMethod.Builderbuilder()Returns a mutable builder for constructing an instance of ReinforcementMethod. -
-
Method Detail
-
grader
final ReinforcementMethod.Grader grader()
The grader used for the fine-tuning job.
-
hyperparameters
final Optional<ReinforcementHyperparameters> hyperparameters()
The hyperparameters used for the reinforcement fine-tuning job.
-
_grader
final JsonField<ReinforcementMethod.Grader> _grader()
Returns the raw JSON value of grader.
Unlike grader, this method doesn't throw if the JSON field has an unexpected type.
-
_hyperparameters
final JsonField<ReinforcementHyperparameters> _hyperparameters()
Returns the raw JSON value of hyperparameters.
Unlike hyperparameters, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ReinforcementMethod.Builder toBuilder()
-
validate
final ReinforcementMethod validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ReinforcementMethod.Builder builder()
Returns a mutable builder for constructing an instance of ReinforcementMethod.
The following fields are required:
.grader()
-
-
-
-