Dela via


JsonReportWriter Class

Definition

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

public ref class JsonReportWriter sealed : Microsoft::Extensions::AI::Evaluation::Reporting::IEvaluationReportWriter
public sealed class JsonReportWriter : Microsoft.Extensions.AI.Evaluation.Reporting.IEvaluationReportWriter
type JsonReportWriter = class
    interface IEvaluationReportWriter
Public NotInheritable Class JsonReportWriter
Implements IEvaluationReportWriter
Inheritance
JsonReportWriter
Implements

Constructors

JsonReportWriter(String)

An IEvaluationReportWriter that generates a JSON 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