Class TuningDataset

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class TuningDataset.Builder

      Builder for TuningDataset.

    • Constructor Summary

      Constructors 
      Constructor Description
      TuningDataset()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<String> gcsUri() GCS URI of the file containing training dataset in JSONL format.
      abstract Optional<String> vertexDatasetResource() The resource name of the Gemini Enterprise Agent Platform (previously known as Vertex AI) Multimodal Dataset that is used as training dataset.
      abstract Optional<List<TuningExample>> examples() Inline examples with simple input/output text.
      static TuningDataset.Builder builder() Instantiates a builder for TuningDataset.
      abstract TuningDataset.Builder toBuilder() Creates a builder with the same values as this instance.
      static TuningDataset fromJson(String jsonString) Deserializes a JSON string to a TuningDataset object.
      • Methods inherited from class com.google.genai.JsonSerializable

        fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait