Class JobCreateParams.Method.Builder
-
- All Implemented Interfaces:
public final class JobCreateParams.Method.Builder
A builder for Method.
-
-
Method Summary
-
-
Method Detail
-
type
final JobCreateParams.Method.Builder type(JobCreateParams.Method.Type type)
The type of method. Is either
supervised
,dpo
, orreinforcement
.
-
type
final JobCreateParams.Method.Builder type(JsonField<JobCreateParams.Method.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dpo
final JobCreateParams.Method.Builder dpo(DpoMethod dpo)
Configuration for the DPO fine-tuning method.
-
dpo
final JobCreateParams.Method.Builder dpo(JsonField<DpoMethod> dpo)
Sets Builder.dpo to an arbitrary JSON value.
You should usually call Builder.dpo with a well-typed DpoMethod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reinforcement
final JobCreateParams.Method.Builder reinforcement(ReinforcementMethod reinforcement)
Configuration for the reinforcement fine-tuning method.
-
reinforcement
final JobCreateParams.Method.Builder reinforcement(JsonField<ReinforcementMethod> reinforcement)
Sets Builder.reinforcement to an arbitrary JSON value.
You should usually call Builder.reinforcement with a well-typed ReinforcementMethod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
supervised
final JobCreateParams.Method.Builder supervised(SupervisedMethod supervised)
Configuration for the supervised fine-tuning method.
-
supervised
final JobCreateParams.Method.Builder supervised(JsonField<SupervisedMethod> supervised)
Sets Builder.supervised to an arbitrary JSON value.
You should usually call Builder.supervised with a well-typed SupervisedMethod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JobCreateParams.Method.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JobCreateParams.Method.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JobCreateParams.Method.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JobCreateParams.Method.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JobCreateParams.Method.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JobCreateParams.Method build()
Returns an immutable instance of Method.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-