Sdílet prostřednictvím


HtmlReportWriter.WriteReportAsync Method

Definition

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

public System.Threading.Tasks.ValueTask WriteReportAsync (System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> scenarioRunResults, System.Threading.CancellationToken cancellationToken = default);
abstract member WriteReportAsync : seq<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
override this.WriteReportAsync : seq<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function WriteReportAsync (scenarioRunResults As IEnumerable(Of ScenarioRunResult), Optional cancellationToken As CancellationToken = Nothing) As ValueTask

Parameters

scenarioRunResults
IEnumerable<ScenarioRunResult>

An enumeration of ScenarioRunResults.

cancellationToken
CancellationToken

A CancellationToken that can cancel the operation.

Returns

Implements

Applies to