Package com.google.genai.types
Class TuningDataset
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.TuningDataset
Supervised fine-tuning training dataset.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TuningDataset.Builder
builder()
Instantiates a builder for TuningDataset.abstract Optional<List<TuningExample>>
examples()
Inline examples with simple input/output text.static TuningDataset
Deserializes a JSON string to a TuningDataset object.gcsUri()
GCS URI of the file containing training dataset in JSONL format.abstract TuningDataset.Builder
Creates a builder with the same values as this instance.The resource name of the Vertex Multimodal Dataset that is used as training dataset.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
TuningDataset
public TuningDataset()
-
-
Method Details
-
gcsUri
GCS URI of the file containing training dataset in JSONL format. -
vertexDatasetResource
The resource name of the Vertex Multimodal Dataset that is used as training dataset. Example: 'projects/my-project-id-or-number/locations/my-location/datasets/my-dataset-id'. -
examples
Inline examples with simple input/output text. -
builder
Instantiates a builder for TuningDataset. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a TuningDataset object.
-