Class AggregationOutput
The aggregation result for the entire dataset and all metrics. This data type is not supported in Gemini API.
public record AggregationOutput : IEquatable<AggregationOutput>
- Inheritance
-
AggregationOutput
- Implements
- Inherited Members
Properties
AggregationResults
One AggregationResult per metric.
[JsonPropertyName("aggregationResults")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<AggregationResult>? AggregationResults { get; set; }
Property Value
Dataset
The dataset used for evaluation & aggregation.
[JsonPropertyName("dataset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public EvaluationDataset? Dataset { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a AggregationOutput object.
public static AggregationOutput? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- AggregationOutput
The deserialized AggregationOutput object, or null if deserialization fails.