Dela via


RelevanceTruthAndCompletenessEvaluatorOptions(Boolean) Constructor

Definition

public RelevanceTruthAndCompletenessEvaluatorOptions(bool includeReasoning = false);
new Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluatorOptions : bool -> Microsoft.Extensions.AI.Evaluation.Quality.RelevanceTruthAndCompletenessEvaluatorOptions
Public Sub New (Optional includeReasoning As Boolean = false)

Parameters

includeReasoning
Boolean

If includeReasoning is set to true, this instructs the RelevanceTruthAndCompletenessEvaluator to include EvaluationDiagnostics (with Severity set to Informational) as part of the returned NumericMetrics for 'Relevance' 'Truth' and 'Completeness' that explain the reasoning behind the corresponding scores. By default, includeReasoning is set to false.

Applies to