Sdílet prostřednictvím


JsonReportWriter.WriteReportAsync Method

Definition

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>
cancellationToken
CancellationToken

Returns

Implements

Applies to