16 references to AddOrUpdateContext
Microsoft.Extensions.AI.Evaluation.NLP (3)
BLEUEvaluator.cs (1)
92metric.AddOrUpdateContext(context);
F1Evaluator.cs (1)
83metric.AddOrUpdateContext(context);
GLEUEvaluator.cs (1)
92metric.AddOrUpdateContext(context);
Microsoft.Extensions.AI.Evaluation.Quality (7)
CompletenessEvaluator.cs (1)
106metric.AddOrUpdateContext(context);
EquivalenceEvaluator.cs (1)
107metric.AddOrUpdateContext(context);
GroundednessEvaluator.cs (1)
107metric.AddOrUpdateContext(context);
IntentResolutionEvaluator.cs (1)
152metric.AddOrUpdateContext(context);
RetrievalEvaluator.cs (1)
122metric.AddOrUpdateContext(context);
TaskAdherenceEvaluator.cs (1)
153metric.AddOrUpdateContext(context);
ToolCallAccuracyEvaluator.cs (1)
150metric.AddOrUpdateContext(context);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (6)
ScenarioRunResultTests.cs (6)
39booleanMetric.AddOrUpdateContext(context1); 50numericMetric.AddOrUpdateContext(context2); 56stringMetric.AddOrUpdateContext(context3); 131booleanMetric.AddOrUpdateContext(context1); 142numericMetric.AddOrUpdateContext(context2); 148stringMetric.AddOrUpdateContext(context3);