Class FineTuningJobCheckpoint.Builder
-
- All Implemented Interfaces:
public final class FineTuningJobCheckpoint.Builder
A builder for FineTuningJobCheckpoint.
-
-
Method Summary
-
-
Method Detail
-
id
final FineTuningJobCheckpoint.Builder id(String id)
The checkpoint identifier, which can be referenced in the API endpoints.
-
id
final FineTuningJobCheckpoint.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final FineTuningJobCheckpoint.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the checkpoint was created.
-
createdAt
final FineTuningJobCheckpoint.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fineTunedModelCheckpoint
final FineTuningJobCheckpoint.Builder fineTunedModelCheckpoint(String fineTunedModelCheckpoint)
The name of the fine-tuned checkpoint model that is created.
-
fineTunedModelCheckpoint
final FineTuningJobCheckpoint.Builder fineTunedModelCheckpoint(JsonField<String> fineTunedModelCheckpoint)
Sets Builder.fineTunedModelCheckpoint to an arbitrary JSON value.
You should usually call Builder.fineTunedModelCheckpoint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fineTuningJobId
final FineTuningJobCheckpoint.Builder fineTuningJobId(String fineTuningJobId)
The name of the fine-tuning job that this checkpoint was created from.
-
fineTuningJobId
final FineTuningJobCheckpoint.Builder fineTuningJobId(JsonField<String> fineTuningJobId)
Sets Builder.fineTuningJobId to an arbitrary JSON value.
You should usually call Builder.fineTuningJobId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metrics
final FineTuningJobCheckpoint.Builder metrics(FineTuningJobCheckpoint.Metrics metrics)
Metrics at the step number during the fine-tuning job.
-
metrics
final FineTuningJobCheckpoint.Builder metrics(JsonField<FineTuningJobCheckpoint.Metrics> metrics)
Sets Builder.metrics to an arbitrary JSON value.
You should usually call Builder.metrics with a well-typed Metrics value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final FineTuningJobCheckpoint.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("fine_tuning.job.checkpoint")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
stepNumber
final FineTuningJobCheckpoint.Builder stepNumber(Long stepNumber)
The step number that the checkpoint was created at.
-
stepNumber
final FineTuningJobCheckpoint.Builder stepNumber(JsonField<Long> stepNumber)
Sets Builder.stepNumber to an arbitrary JSON value.
You should usually call Builder.stepNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FineTuningJobCheckpoint.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FineTuningJobCheckpoint.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FineTuningJobCheckpoint.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FineTuningJobCheckpoint.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FineTuningJobCheckpoint.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FineTuningJobCheckpoint build()
Returns an immutable instance of FineTuningJobCheckpoint.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .fineTunedModelCheckpoint() .fineTuningJobId() .metrics() .stepNumber()
-
-
-
-