1 write to Name
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyEvaluator.cs (1)
166metric.Name = metricName;
60 references to Name
Microsoft.Extensions.AI.Evaluation (22)
CompositeEvaluator.cs (3)
21/// Gets the <see cref="EvaluationMetric.Name"/>s of all the <see cref="EvaluationMetric"/>s produced by the 78/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 162result.Metrics.Add(metric.Name, metric);
EvaluationResult.cs (11)
39/// The dictionary is keyed on the <see cref="EvaluationMetric.Name"/>s of the contained 69if (metricsDictionary.ContainsKey(metric.Name)) 71Throw.ArgumentException(nameof(metrics), $"Cannot add multiple metrics with name '{metric.Name}'."); 74metricsDictionary[metric.Name] = metric; 94/// <see cref="EvaluationMetric.Name"/> specified via <paramref name="metricName"/> if it exists in 99/// The <see cref="EvaluationMetric.Name"/> of the <see cref="EvaluationMetric"/> to be returned. 103/// <see cref="EvaluationMetric.Name"/> specified via <paramref name="metricName"/> if it exists in 125/// <see cref="EvaluationMetric.Name"/> specified via <paramref name="metricName"/> if it exists in 130/// The <see cref="EvaluationMetric.Name"/> of the <see cref="EvaluationMetric"/> to be returned. 134/// <see cref="EvaluationMetric.Name"/> specified via <paramref name="metricName"/> if it exists in 139/// <see cref="EvaluationMetric.Name"/> specified via <paramref name="metricName"/> does not exist in
EvaluatorExtensions.cs (6)
22/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 62/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 107/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 147/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 192/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned 237/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned
IEvaluator.cs (2)
19/// Gets the <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s produced by this 30/// The <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s contained in the returned
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
TestEvaluator.cs (1)
19=> [.. TestMetrics.Select(t => t.Name)];
Microsoft.Extensions.AI.Evaluation.Quality (14)
CoherenceEvaluator.cs (1)
47/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
CompletenessEvaluator.cs (1)
43/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
EquivalenceEvaluator.cs (1)
43/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
EvaluationMetricExtensions.cs (4)
32reason: $"{metric.Name} is less than {MinimumPassingScore}.") 73Failed to parse score for '{metric.Name}' from the following evaluation response: 121Failed to parse numeric score for '{metric.Name}' from the following text: 139Failed to parse boolean score for '{metric.Name}' from the following text:
FluencyEvaluator.cs (1)
41/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
GroundednessEvaluator.cs (1)
42/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
RelevanceEvaluator.cs (1)
45/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
RelevanceTruthAndCompletenessEvaluator.cs (3)
49/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by 55/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by 61/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
RetrievalEvaluator.cs (1)
51/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
255Assert.Equal(metric.Name, deserializedMetric.Name);
Microsoft.Extensions.AI.Evaluation.Safety (21)
CodeVulnerabilityEvaluator.cs (1)
40/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by
ContentHarmEvaluator.cs (1)
25/// with the Azure AI Foundry Evaluation service, to the <see cref="EvaluationMetric.Name"/>s of the
ContentSafetyEvaluator.cs (3)
30/// AI Foundry Evaluation service, to the <see cref="EvaluationMetric.Name"/>s of the <see cref="EvaluationMetric"/>s 163string contentSafetyServiceMetricName = metric.Name; 190updatedResult.Metrics.Add(metric.Name, metric);
ContentSafetyService.cs (1)
123result.Metrics.Add(metric.Name, metric);
EvaluationMetricExtensions.cs (3)
32reason: $"{metric.Name} is greater than {MinimumPassingScore}.") 56reason: $"{metric.Name} is less than {MinimumPassingScore}.") 76reason: $"{metric.Name} is {passValue}.");
GroundednessProEvaluator.cs (1)
41/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
HateAndUnfairnessEvaluator.cs (1)
28/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
IndirectAttackEvaluator.cs (1)
51/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by
ProtectedMaterialEvaluator.cs (5)
42/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by 48/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by 54/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by 60/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by 104result.Metrics.Add(imageMetric.Name, imageMetric);
SelfHarmEvaluator.cs (1)
27/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
SexualEvaluator.cs (1)
27/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by
UngroundedAttributesEvaluator.cs (1)
45/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="BooleanMetric"/> returned by
ViolenceEvaluator.cs (1)
27/// Gets the <see cref="EvaluationMetric.Name"/> of the <see cref="NumericMetric"/> returned by