JsonReportWriter.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
scenarioRunResults
s.
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
A ValueTask that represents the asynchronous operation.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.