Package com.google.genai.types
Class AggregationOutput
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AggregationOutput
The aggregation result for the entire dataset and all metrics. This data type is not supported in
Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for AggregationOutput. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<List<AggregationResult>>One AggregationResult per metric.static AggregationOutput.Builderbuilder()Instantiates a builder for AggregationOutput.abstract Optional<EvaluationDataset>dataset()The dataset used for evaluation & aggregation.static AggregationOutputDeserializes a JSON string to a AggregationOutput object.abstract AggregationOutput.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
-
AggregationOutput
public AggregationOutput()
-
-
Method Details
-
aggregationResults
One AggregationResult per metric. -
dataset
The dataset used for evaluation & aggregation. -
builder
Instantiates a builder for AggregationOutput. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AggregationOutput object.
-