Jaa


IResultStore.WriteResultsAsync Method

Definition

Writes the supplied resultss to the store.

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

Parameters

results
IEnumerable<ScenarioRunResult>

The ScenarioRunResults to be written.

cancellationToken
CancellationToken

A CancellationToken that can cancel the operation.

Returns

Applies to