Class JobCreateParams.Method.Builder
-
- All Implemented Interfaces:
public final class JobCreateParams.Method.Builder
A builder for Method.
-
-
Method Summary
-
-
Method Detail
-
dpo
final JobCreateParams.Method.Builder dpo(JobCreateParams.Method.Dpo dpo)
Configuration for the DPO fine-tuning method.
-
dpo
final JobCreateParams.Method.Builder dpo(JsonField<JobCreateParams.Method.Dpo> dpo)
Sets Builder.dpo to an arbitrary JSON value.
You should usually call Builder.dpo with a well-typed Dpo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
supervised
final JobCreateParams.Method.Builder supervised(JobCreateParams.Method.Supervised supervised)
Configuration for the supervised fine-tuning method.
-
supervised
final JobCreateParams.Method.Builder supervised(JsonField<JobCreateParams.Method.Supervised> supervised)
Sets Builder.supervised to an arbitrary JSON value.
You should usually call Builder.supervised with a well-typed Supervised value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final JobCreateParams.Method.Builder type(JobCreateParams.Method.Type type)
The type of method. Is either
supervised
ordpo
.
-
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.
-
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.
-
-
-
-