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