Del via


EvaluationMetric(String, String) Constructor

Definition

A base class that represents the result of an evaluation.

public EvaluationMetric(string name, string? reason = default);
new Microsoft.Extensions.AI.Evaluation.EvaluationMetric : string * string -> Microsoft.Extensions.AI.Evaluation.EvaluationMetric
Public Sub New (name As String, Optional reason As String = Nothing)

Parameters

name
String

The name of the EvaluationMetric.

reason
String

An optional string that can be used to provide some commentary around the result represented by this EvaluationMetric.

Applies to