JsonReportWriter(String) Constructor

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:
 JsonReportWriter(System::String ^ reportFilePath);
public JsonReportWriter(string reportFilePath);
new Microsoft.Extensions.AI.Evaluation.Reporting.Formats.Json.JsonReportWriter : string -> Microsoft.Extensions.AI.Evaluation.Reporting.Formats.Json.JsonReportWriter
Public Sub New (reportFilePath As String)

Parameters

reportFilePath
String

The path to a file where the report will be written. If the file already exists, it will be overwritten.

Applies to