EquivalenceEvaluator.Context 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.
Contextual information required to evaluate the 'Equivalence' of a response.
public: ref class EquivalenceEvaluator::Context sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
public sealed class EquivalenceEvaluator.Context : Microsoft.Extensions.AI.Evaluation.EvaluationContext
type EquivalenceEvaluator.Context = class
inherit EvaluationContext
Public NotInheritable Class EquivalenceEvaluator.Context
Inherits EvaluationContext
- Inheritance
Remarks
The EquivalenceEvaluator measures the degree to which the response being evaluated is similar to the response supplied via groundTruth
.
Constructors
EquivalenceEvaluator.Context(String) |
Contextual information required to evaluate the 'Equivalence' of a response. |
Properties
GroundTruth |
The ground truth response against which the response that is being evaluated is compared. |
Methods
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) |