StringMetric Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An EvaluationMetric containing a String value.
public ref class StringMetric sealed : Microsoft::Extensions::AI::Evaluation::EvaluationMetric<System::String ^>
public sealed class StringMetric : Microsoft.Extensions.AI.Evaluation.EvaluationMetric<string>
type StringMetric = class
inherit EvaluationMetric<string>
Public NotInheritable Class StringMetric
Inherits EvaluationMetric(Of String)
- Inheritance
Constructors
StringMetric(String, String) |
An EvaluationMetric containing a String value. |
Properties
Diagnostics |
A collection of zero or more EvaluationDiagnostics associated with the current EvaluationMetric. (Inherited from EvaluationMetric) |
Interpretation |
An EvaluationMetricInterpretation that identifies whether the result of the evaluation represented by the current EvaluationMetric is considered good or bad, passed or failed etc. (Inherited from EvaluationMetric) |
Name |
The name of the EvaluationMetric. (Inherited from EvaluationMetric) |
Value |
The value of the EvaluationMetric<T>. (Inherited from EvaluationMetric<T>) |
Methods
AddDiagnostic(EvaluationDiagnostic) |
Adds a EvaluationDiagnostic to the current EvaluationMetric's Diagnostics. (Inherited from EvaluationMetric) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
ContainsDiagnostics(EvaluationMetric, Func<EvaluationDiagnostic,Boolean>) |
Returns |