JsonReportWriter(String) Constructeur

Définition

Qui IEvaluationReportWriter génère un rapport JSON contenant tous les EvaluationMetrics présents dans le s fourni ScenarioRunResultet l’écrit dans le fichier spécifié 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)

Paramètres

reportFilePath
String

Chemin d’accès à un fichier dans lequel le rapport sera écrit. Si le fichier existe déjà, il sera remplacé.

S’applique à