Package com.openai.models
Class FineTuningJobCreateParams.Method
-
- All Implemented Interfaces:
public final class FineTuningJobCreateParams.Method
The method used for fine-tuning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FineTuningJobCreateParams.Method.Builder
A builder for Method.
public final class
FineTuningJobCreateParams.Method.Dpo
Configuration for the DPO fine-tuning method.
public final class
FineTuningJobCreateParams.Method.Supervised
Configuration for the supervised fine-tuning method.
public final class
FineTuningJobCreateParams.Method.Type
The type of method. Is either
supervised
ordpo
.
-
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.Method
validate()
final FineTuningJobCreateParams.Method.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FineTuningJobCreateParams.Method.Builder
builder()
-
-
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
supervised
ordpo
.
-
_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
supervised
ordpo
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FineTuningJobCreateParams.Method validate()
-
toBuilder
final FineTuningJobCreateParams.Method.Builder toBuilder()
-
builder
final static FineTuningJobCreateParams.Method.Builder builder()
-
-
-
-