1 instantiation of RelevanceTruthAndCompletenessEvaluator
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
QualityEvaluatorTests.cs (1)
49IEvaluator rtcEvaluator = new RelevanceTruthAndCompletenessEvaluator();
19 references to RelevanceTruthAndCompletenessEvaluator
Microsoft.Extensions.AI.Evaluation.Quality (6)
RelevanceTruthAndCompletenessEvaluator.cs (6)
28/// <see cref="RelevanceTruthAndCompletenessEvaluator"/> returns three <see cref="NumericMetric"/>s that contain scores 34/// <b>Note:</b> <see cref="RelevanceTruthAndCompletenessEvaluator"/> is an AI-based evaluator that uses an AI model to 40/// The prompt that <see cref="RelevanceTruthAndCompletenessEvaluator"/> uses has been tested against (and tuned to 53/// <see cref="RelevanceTruthAndCompletenessEvaluator"/> for 'Relevance'. 59/// <see cref="RelevanceTruthAndCompletenessEvaluator"/> for 'Truth'. 65/// <see cref="RelevanceTruthAndCompletenessEvaluator"/> for 'Completeness'.
Microsoft.Extensions.AI.Evaluation.Tests (13)
RelevanceTruthAndCompletenessEvaluatorRatingTests.cs (13)
20var rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 45var rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 70var rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 87var rating = new RelevanceTruthAndCompletenessEvaluator.Rating( 98string json = JsonSerializer.Serialize(rating, RelevanceTruthAndCompletenessEvaluator.SerializerContext.Default.Rating); 99var deserialized = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 116var rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 120rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 124rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 128rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 132rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 136rating = RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json); 144Assert.Throws<JsonException>(() => RelevanceTruthAndCompletenessEvaluator.Rating.FromJson(json));