IResultStore.WriteResultsAsync 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 the supplied results
s 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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.