Class JobCreateParams.Method
-
- All Implemented Interfaces:
public final class JobCreateParams.MethodThe method used for fine-tuning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJobCreateParams.Method.BuilderA builder for Method.
public final classJobCreateParams.Method.DpoConfiguration for the DPO fine-tuning method.
public final classJobCreateParams.Method.SupervisedConfiguration for the supervised fine-tuning method.
public final classJobCreateParams.Method.TypeThe type of method. Is either
supervisedordpo.
-
Method Summary
Modifier and Type Method Description final Optional<JobCreateParams.Method.Dpo>dpo()Configuration for the DPO fine-tuning method. final Optional<JobCreateParams.Method.Supervised>supervised()Configuration for the supervised fine-tuning method. final Optional<JobCreateParams.Method.Type>type()The type of method. final JsonField<JobCreateParams.Method.Dpo>_dpo()Returns the raw JSON value of dpo. final JsonField<JobCreateParams.Method.Supervised>_supervised()Returns the raw JSON value of supervised. final JsonField<JobCreateParams.Method.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final JobCreateParams.Method.BuildertoBuilder()final JobCreateParams.Methodvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JobCreateParams.Method.Builderbuilder()Returns a mutable builder for constructing an instance of Method. -
-
Method Detail
-
dpo
final Optional<JobCreateParams.Method.Dpo> dpo()
Configuration for the DPO fine-tuning method.
-
supervised
final Optional<JobCreateParams.Method.Supervised> supervised()
Configuration for the supervised fine-tuning method.
-
type
final Optional<JobCreateParams.Method.Type> type()
The type of method. Is either
supervisedordpo.
-
_dpo
final JsonField<JobCreateParams.Method.Dpo> _dpo()
Returns the raw JSON value of dpo.
Unlike dpo, this method doesn't throw if the JSON field has an unexpected type.
-
_supervised
final JsonField<JobCreateParams.Method.Supervised> _supervised()
Returns the raw JSON value of supervised.
Unlike supervised, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JobCreateParams.Method.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobCreateParams.Method.Builder toBuilder()
-
validate
final JobCreateParams.Method validate()
-
builder
final static JobCreateParams.Method.Builder builder()
Returns a mutable builder for constructing an instance of Method.
-
-
-
-