1 type derived from EvaluationMetric
Microsoft.Extensions.AI.Evaluation (1)
5 instantiations of EvaluationMetric
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
265 references to EvaluationMetric
Microsoft.Extensions.AI.Evaluation (161)
EvaluationMetricExtensions.cs (29)
14/// Extension methods for <see cref="EvaluationMetric"/>.
20/// <see cref="EvaluationMetric.Context"/> dictionary.
22/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
24public static void AddOrUpdateContext(this EvaluationMetric metric, IEnumerable<EvaluationContext> context)
42/// <see cref="EvaluationMetric.Context"/> dictionary.
44/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
46public static void AddOrUpdateContext(this EvaluationMetric metric, params EvaluationContext[] context)
53/// <param name="metric">The <see cref="EvaluationMetric"/> that is to be inspected.</param>
64this EvaluationMetric metric,
77/// Adds the supplied <see cref="EvaluationDiagnostic"/>s to the supplied <see cref="EvaluationMetric"/>'s
78/// <see cref="EvaluationMetric.Diagnostics"/> collection.
80/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
82public static void AddDiagnostics(this EvaluationMetric metric, IEnumerable<EvaluationDiagnostic> diagnostics)
99/// Adds the supplied <see cref="EvaluationDiagnostic"/>s to the supplied <see cref="EvaluationMetric"/>'s
100/// <see cref="EvaluationMetric.Diagnostics"/> collection.
102/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
104public static void AddDiagnostics(this EvaluationMetric metric, params EvaluationDiagnostic[] diagnostics)
109/// supplied <paramref name="metric"/>'s <see cref="EvaluationMetric.Metadata"/> dictionary.
111/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
114public static void AddOrUpdateMetadata(this EvaluationMetric metric, string name, string value)
124/// <see cref="EvaluationMetric.Metadata"/> dictionary.
126/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
128public static void AddOrUpdateMetadata(this EvaluationMetric metric, IDictionary<string, string> metadata)
141/// model, in the supplied <paramref name="metric"/>'s <see cref="EvaluationMetric.Metadata"/> dictionary.
143/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
151this EvaluationMetric metric,
194/// evaluation in the supplied <paramref name="metric"/>'s <see cref="EvaluationMetric.Metadata"/> dictionary.
196/// <param name="metric">The <see cref="EvaluationMetric"/>.</param>
200public static void AddOrUpdateDurationMetadata(this EvaluationMetric metric, TimeSpan duration)
Microsoft.Extensions.AI.Evaluation.Console (5)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (7)
Microsoft.Extensions.AI.Evaluation.NLP (5)
Microsoft.Extensions.AI.Evaluation.Quality (15)
Microsoft.Extensions.AI.Evaluation.Reporting (35)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (4)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (8)
Microsoft.Extensions.AI.Evaluation.Safety (25)