Table of Contents

Class EvaluateDatasetResponse

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

The results from an evaluation run performed by the EvaluationService. This data type is not supported in Gemini API.

public record EvaluateDatasetResponse : IEquatable<EvaluateDatasetResponse>
Inheritance
EvaluateDatasetResponse
Implements
Inherited Members

Properties

AggregationOutput

Output only. Aggregation statistics derived from results of EvaluationService.

[JsonPropertyName("aggregationOutput")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public AggregationOutput? AggregationOutput { get; set; }

Property Value

AggregationOutput

OutputInfo

Output only. Output info for EvaluationService.

[JsonPropertyName("outputInfo")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public OutputInfo? OutputInfo { get; set; }

Property Value

OutputInfo

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a EvaluateDatasetResponse object.

public static EvaluateDatasetResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

EvaluateDatasetResponse

The deserialized EvaluateDatasetResponse object, or null if deserialization fails.