RelevanceTruthAndCompletenessEvaluator Constructor

Definition

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

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.

Applies to