HtmlReportWriter Class

Definition

An IEvaluationReportWriter that generates an HTML report containing all the EvaluationMetrics present in the supplied ScenarioRunResults and writes it to the specified reportFilePath.

C#
public sealed class HtmlReportWriter : Microsoft.Extensions.AI.Evaluation.Reporting.IEvaluationReportWriter
Inheritance
HtmlReportWriter
Implements

Constructors

HtmlReportWriter(String)

An IEvaluationReportWriter that generates an HTML report containing all the EvaluationMetrics present in the supplied ScenarioRunResults and writes it to the specified reportFilePath.

Methods

WriteReportAsync(IEnumerable<ScenarioRunResult>, CancellationToken)

Writes a report containing all the EvaluationMetrics present in the supplied scenarioRunResultss.

Applies to

Tuote Versiot
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)