RelevanceTruthAndCompletenessEvaluator Constructor
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 IEvaluator that evaluates the 'Relevance', 'Truth' and 'Completeness' of a response produced by an AI model.
public RelevanceTruthAndCompletenessEvaluator(Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluatorOptions? options = default);
new Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluator : Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluatorOptions -> Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluator
Public Sub New (Optional options As RelevanceTruthAndCompletenessEvaluatorOptions = Nothing)
Parameters
Options for RelevanceTruthAndCompletenessEvaluator.
Remarks
RelevanceTruthAndCompletenessEvaluator returns three NumericMetrics that contain scores for 'Relevance', 'Truth' and 'Completeness' respectively. Each score is a number between 1 and 5, with 1 indicating a poor score, and 5 indicating an excellent score.