1 write to CorrectIntentDetected
Microsoft.Extensions.AI.Evaluation.Quality (1)
IntentResolutionRating.cs (1)
72CorrectIntentDetected = correctIntentDetected;
10 references to CorrectIntentDetected
Microsoft.Extensions.AI.Evaluation.Quality (1)
IntentResolutionEvaluator.cs (1)
402metric.AddOrUpdateMetadata("correct_intent_detected", rating.CorrectIntentDetected.ToString());
Microsoft.Extensions.AI.Evaluation.Tests (9)
IntentResolutionRatingTests.cs (9)
36Assert.True(rating.CorrectIntentDetected); 68Assert.True(rating.CorrectIntentDetected); 100Assert.True(rating.CorrectIntentDetected); 126Assert.Equal(rating.CorrectIntentDetected, deserialized.CorrectIntentDetected); 144Assert.Equal(rating.CorrectIntentDetected, deserialized.CorrectIntentDetected); 236Assert.True(rating.CorrectIntentDetected); 265Assert.True(rating.CorrectIntentDetected);