Package com.google.genai.types
Class CreateTuningJobParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CreateTuningJobParameters
Supervised fine-tuning job creation parameters - optional fields.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for CreateTuningJobParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe base model that is being tuned, e.g., "gemini-2.5-flash".builder()
Instantiates a builder for CreateTuningJobParameters.abstract Optional<CreateTuningJobConfig>
config()
Configuration for the tuning job.static CreateTuningJobParameters
Deserializes a JSON string to a CreateTuningJobParameters object.abstract CreateTuningJobParameters.Builder
Creates a builder with the same values as this instance.abstract Optional<TuningDataset>
Cloud Storage path to file containing training dataset for tuning.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
CreateTuningJobParameters
public CreateTuningJobParameters()
-
-
Method Details
-
baseModel
The base model that is being tuned, e.g., "gemini-2.5-flash". -
trainingDataset
Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. -
config
Configuration for the tuning job. -
builder
Instantiates a builder for CreateTuningJobParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CreateTuningJobParameters object.
-