Package com.openai.models
Class FineTuningJobCreateParams.Method
-
- All Implemented Interfaces:
public final class FineTuningJobCreateParams.MethodThe method used for fine-tuning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJobCreateParams.Method.Builderpublic final classFineTuningJobCreateParams.Method.DpoConfiguration for the DPO fine-tuning method.
public final classFineTuningJobCreateParams.Method.SupervisedConfiguration for the supervised fine-tuning method.
public final classFineTuningJobCreateParams.Method.TypeThe type of method. Is either
supervisedordpo.
-
Method Summary
Modifier and Type Method Description final Optional<FineTuningJobCreateParams.Method.Dpo>dpo()Configuration for the DPO fine-tuning method. final Optional<FineTuningJobCreateParams.Method.Supervised>supervised()Configuration for the supervised fine-tuning method. final Optional<FineTuningJobCreateParams.Method.Type>type()The type of method. final JsonField<FineTuningJobCreateParams.Method.Dpo>_dpo()Configuration for the DPO fine-tuning method. final JsonField<FineTuningJobCreateParams.Method.Supervised>_supervised()Configuration for the supervised fine-tuning method. final JsonField<FineTuningJobCreateParams.Method.Type>_type()The type of method. final Map<String, JsonValue>_additionalProperties()final FineTuningJobCreateParams.Methodvalidate()final FineTuningJobCreateParams.Method.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJobCreateParams.Method.Builderbuilder()-
-
Method Detail
-
dpo
final Optional<FineTuningJobCreateParams.Method.Dpo> dpo()
Configuration for the DPO fine-tuning method.
-
supervised
final Optional<FineTuningJobCreateParams.Method.Supervised> supervised()
Configuration for the supervised fine-tuning method.
-
type
final Optional<FineTuningJobCreateParams.Method.Type> type()
The type of method. Is either
supervisedordpo.
-
_dpo
final JsonField<FineTuningJobCreateParams.Method.Dpo> _dpo()
Configuration for the DPO fine-tuning method.
-
_supervised
final JsonField<FineTuningJobCreateParams.Method.Supervised> _supervised()
Configuration for the supervised fine-tuning method.
-
_type
final JsonField<FineTuningJobCreateParams.Method.Type> _type()
The type of method. Is either
supervisedordpo.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FineTuningJobCreateParams.Method validate()
-
toBuilder
final FineTuningJobCreateParams.Method.Builder toBuilder()
-
builder
final static FineTuningJobCreateParams.Method.Builder builder()
-
-
-
-