次の方法で共有


DiskBasedResultStore.ReadResultsAsync Method

Definition

Returns ScenarioRunResults for ScenarioRuns filtered by the specified executionName, scenarioName, and iterationName from the store.

public System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> ReadResultsAsync (string? executionName = default, string? scenarioName = default, string? iterationName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadResultsAsync : string * string * string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult>
override this.ReadResultsAsync : string * string * string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult>
Public Function ReadResultsAsync (Optional executionName As String = Nothing, Optional scenarioName As String = Nothing, Optional iterationName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of ScenarioRunResult)

Parameters

executionName
String

The ExecutionName by which the ScenarioRunResults should be filtered. If omitted, all ExecutionNames are considered.

scenarioName
String

The ScenarioName by which the ScenarioRunResults should be filtered. If omitted, all ScenarioNames that are in scope based on the specified executionName filter are considered.

iterationName
String

The IterationName by which the ScenarioRunResults should be filtered. If omitted, all IterationNames that are in scope based on the specified executionName, and scenarioName filters are considered.

cancellationToken
CancellationToken

A CancellationToken that can cancel the operation.

Returns

The matching ScenarioRunResults.

Implements

Applies to