Class EvaluationDataset

  • All Implemented Interfaces:

    
    public abstract class EvaluationDataset
    extends JsonSerializable
                        

    The dataset used for evaluation. This data type is not supported in Gemini API.

    • Nested Class Summary

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

      Builder for EvaluationDataset.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<BigQuerySource> bigquerySource() BigQuery source holds the dataset.
      abstract Optional<GcsSource> gcsSource() Cloud storage source holds the dataset.
      static EvaluationDataset.Builder builder() Instantiates a builder for EvaluationDataset.
      abstract EvaluationDataset.Builder toBuilder() Creates a builder with the same values as this instance.
      static EvaluationDataset fromJson(String jsonString) Deserializes a JSON string to a EvaluationDataset 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