Class EvaluateDatasetRun
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
Error
Output only. The error of the evaluation run if any.
[JsonPropertyName("error")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GoogleRpcStatus? Error { get; set; }
Property Value
EvaluateDatasetResponse
Output only. Results for EvaluationService.
[JsonPropertyName("evaluateDatasetResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public EvaluateDatasetResponse? EvaluateDatasetResponse { get; set; }
Property Value
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
OperationName
Output only. Deprecated: The updated architecture uses evaluation_run instead.
[JsonPropertyName("operationName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? OperationName { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a EvaluateDatasetRun object.
public static EvaluateDatasetRun? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- EvaluateDatasetRun
The deserialized EvaluateDatasetRun object, or null if deserialization fails.