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