GLEUEvaluatorContext 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 that the GLEUEvaluator uses to compute the GLEU score for a response.
public ref class GLEUEvaluatorContext sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
public sealed class GLEUEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
type GLEUEvaluatorContext = class
inherit EvaluationContext
Public NotInheritable Class GLEUEvaluatorContext
Inherits EvaluationContext
- Inheritance
Remarks
GLEUEvaluator measures the GLEU score of a response compared to one or more reference responses supplied via References. GLEU (Google-BLEU) is a metric used to evaluate the quality of machine-generated text.
Constructors
GLEUEvaluatorContext(IEnumerable<String>) |
Initializes a new instance of the GLEUEvaluatorContext class. |
GLEUEvaluatorContext(String[]) |
Initializes a new instance of the GLEUEvaluatorContext class. |
Properties
Contents |
Gets or sets a list of AIContent objects that include all the information present in this EvaluationContext. (Inherited from EvaluationContext) |
Name |
Gets or sets the name for this EvaluationContext. (Inherited from EvaluationContext) |
References |
Gets the references against which the provided response will be scored. |
ReferencesContextName |
Gets the unique Name that is used for GLEUEvaluatorContext. |