IEvaluationReportWriter.WriteReportAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Function WriteReportAsync (scenarioRunResults As IEnumerable(Of ScenarioRunResult), Optional cancellationToken As CancellationToken = Nothing) As ValueTask
Parameters
- scenarioRunResults
- IEnumerable<ScenarioRunResult>
A collection of run results from which to generate the report.
- cancellationToken
- CancellationToken
A CancellationToken that can cancel the operation.
Returns
A ValueTask that represents the asynchronous operation.