14 references to AddOrUpdateContext
Microsoft.Extensions.AI.Evaluation.NLP (1)
BLEUEvaluator.cs (1)
90metric.AddOrUpdateContext(context);
Microsoft.Extensions.AI.Evaluation.Quality (7)
CompletenessEvaluator.cs (1)
105metric.AddOrUpdateContext(context);
EquivalenceEvaluator.cs (1)
106metric.AddOrUpdateContext(context);
GroundednessEvaluator.cs (1)
106metric.AddOrUpdateContext(context);
IntentResolutionEvaluator.cs (1)
151metric.AddOrUpdateContext(context);
RetrievalEvaluator.cs (1)
121metric.AddOrUpdateContext(context);
TaskAdherenceEvaluator.cs (1)
152metric.AddOrUpdateContext(context);
ToolCallAccuracyEvaluator.cs (1)
149metric.AddOrUpdateContext(context);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (6)
ScenarioRunResultTests.cs (6)
39booleanMetric.AddOrUpdateContext(context1); 50numericMetric.AddOrUpdateContext(context2); 56stringMetric.AddOrUpdateContext(context3); 130booleanMetric.AddOrUpdateContext(context1); 141numericMetric.AddOrUpdateContext(context2); 147stringMetric.AddOrUpdateContext(context3);