Table of Contents

Class EvaluateDatasetRun

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

Evaluate Dataset Run Result for Tuning Job. This data type is not supported in Gemini API.

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

Properties

CheckpointId

Output only. The checkpoint id used in the evaluation run. Only populated when evaluating checkpoints.

[JsonPropertyName("checkpointId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CheckpointId { get; set; }

Property Value

string

Error

Output only. The error of the evaluation run if any.

[JsonPropertyName("error")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GoogleRpcStatus? Error { get; set; }

Property Value

GoogleRpcStatus

EvaluateDatasetResponse

Output only. Results for EvaluationService.

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

Property Value

EvaluateDatasetResponse

EvaluationRun

Output only. The resource name of the evaluation run. Format: projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}.

[JsonPropertyName("evaluationRun")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? EvaluationRun { get; set; }

Property Value

string

OperationName

Output only. Deprecated: The updated architecture uses evaluation_run instead.

[JsonPropertyName("operationName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? OperationName { get; set; }

Property Value

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a EvaluateDatasetRun object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

EvaluateDatasetRun

The deserialized EvaluateDatasetRun object, or null if deserialization fails.