Package com.google.genai.types
Class EvaluationDataset
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.EvaluationDataset
The dataset used for evaluation. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for EvaluationDataset. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<BigQuerySource>BigQuery source holds the dataset.static EvaluationDataset.Builderbuilder()Instantiates a builder for EvaluationDataset.static EvaluationDatasetDeserializes a JSON string to a EvaluationDataset object.Cloud storage source holds the dataset.abstract EvaluationDataset.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
EvaluationDataset
public EvaluationDataset()
-
-
Method Details
-
bigquerySource
BigQuery source holds the dataset. -
gcsSource
Cloud storage source holds the dataset. Currently only one Cloud Storage file path is supported. -
builder
Instantiates a builder for EvaluationDataset. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a EvaluationDataset object.
-