Class JobCreateParams.Integration.Wandb.Builder
-
- All Implemented Interfaces:
public final class JobCreateParams.Integration.Wandb.Builder
A builder for Wandb.
-
-
Method Summary
-
-
Method Detail
-
project
final JobCreateParams.Integration.Wandb.Builder project(String project)
The name of the project that the new run will be created under.
-
project
final JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.Builder entity(Optional<String> entity)
Alias for calling Builder.entity with
entity.orElse(null)
.
-
entity
final JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null)
.
-
name
final JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.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 JobCreateParams.Integration.Wandb.Builder addTag(String tag)
-
additionalProperties
final JobCreateParams.Integration.Wandb.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JobCreateParams.Integration.Wandb.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JobCreateParams.Integration.Wandb.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JobCreateParams.Integration.Wandb.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JobCreateParams.Integration.Wandb.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JobCreateParams.Integration.Wandb build()
Returns an immutable instance of Wandb.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.project()
-
-
-
-