Jaa


EvaluationMetricInterpretation(EvaluationRating, Boolean, String) Constructor

Definition

Specifies how the result represented in an associated EvaluationMetric should be interpreted.

public EvaluationMetricInterpretation (Microsoft.Extensions.AI.Evaluation.EvaluationRating rating = Microsoft.Extensions.AI.Evaluation.EvaluationRating.Unknown, bool failed = false, string? reason = default);
new Microsoft.Extensions.AI.Evaluation.EvaluationMetricInterpretation : Microsoft.Extensions.AI.Evaluation.EvaluationRating * bool * string -> Microsoft.Extensions.AI.Evaluation.EvaluationMetricInterpretation
Public Sub New (Optional rating As EvaluationRating = Microsoft.Extensions.AI.Evaluation.EvaluationRating.Unknown, Optional failed As Boolean = false, Optional reason As String = Nothing)

Parameters

rating
EvaluationRating

An EvaluationRating that identifies how good or bad the result represented in the associated EvaluationMetric is considered.

failed
Boolean

true if the result represented in the associated EvaluationMetric is considered a failure; false otherwise.

reason
String

An optional string that can be used to provide some commentary around the values specified for rating and / or failed.

Applies to