Class FineTuningJobWandbIntegration.Builder
-
- All Implemented Interfaces:
public final class FineTuningJobWandbIntegration.BuilderA builder for FineTuningJobWandbIntegration.
-
-
Method Summary
-
-
Method Detail
-
project
final FineTuningJobWandbIntegration.Builder project(String project)
The name of the project that the new run will be created under.
-
project
final FineTuningJobWandbIntegration.Builder project(JsonField<String> project)
Sets Builder.project to an arbitrary JSON value.
You should usually call Builder.project with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
entity
final FineTuningJobWandbIntegration.Builder entity(String entity)
The entity to use for the run. This allows you to set the team or username of the WandB user that you would like associated with the run. If not set, the default entity for the registered WandB API key is used.
-
entity
final FineTuningJobWandbIntegration.Builder entity(Optional<String> entity)
Alias for calling Builder.entity with
entity.orElse(null).
-
entity
final FineTuningJobWandbIntegration.Builder entity(JsonField<String> entity)
Sets Builder.entity to an arbitrary JSON value.
You should usually call Builder.entity with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final FineTuningJobWandbIntegration.Builder name(String name)
A display name to set for the run. If not set, we will use the Job ID as the name.
-
name
final FineTuningJobWandbIntegration.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final FineTuningJobWandbIntegration.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final FineTuningJobWandbIntegration.Builder tags(List<String> tags)
A list of tags to be attached to the newly created run. These tags are passed through directly to WandB. Some default tags are generated by OpenAI: "openai/finetune", "openai/{base-model}", "openai/{ftjob-abcdef}".
-
tags
final FineTuningJobWandbIntegration.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final FineTuningJobWandbIntegration.Builder addTag(String tag)
-
additionalProperties
final FineTuningJobWandbIntegration.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FineTuningJobWandbIntegration.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FineTuningJobWandbIntegration.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FineTuningJobWandbIntegration.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FineTuningJobWandbIntegration.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FineTuningJobWandbIntegration build()
Returns an immutable instance of FineTuningJobWandbIntegration.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.project()
-
-
-
-