Dela via


DiskBasedResultStore Class

Definition

An IResultStore implementation that stores ScenarioRunResults on disk.

public ref class DiskBasedResultStore sealed : Microsoft::Extensions::AI::Evaluation::Reporting::IResultStore
public sealed class DiskBasedResultStore : Microsoft.Extensions.AI.Evaluation.Reporting.IResultStore
type DiskBasedResultStore = class
    interface IResultStore
Public NotInheritable Class DiskBasedResultStore
Implements IResultStore
Inheritance
DiskBasedResultStore
Implements

Constructors

DiskBasedResultStore(String)

Initializes a new instance of the DiskBasedResultStore class.

Methods

DeleteResultsAsync(String, String, String, CancellationToken)

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

GetIterationNamesAsync(String, String, CancellationToken)

Gets the IterationNames present in the scenario with the specified scenarioName under the execution with the specified executionName.

GetLatestExecutionNamesAsync(Nullable<Int32>, CancellationToken)

Gets the ExecutionNames of the most recent count executions from the store (ordered from most recent to least recent).

GetScenarioNamesAsync(String, CancellationToken)

Gets the ScenarioNames present in the execution with the specified executionName.

ReadResultsAsync(String, String, String, CancellationToken)

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

WriteResultsAsync(IEnumerable<ScenarioRunResult>, CancellationToken)

Writes the supplied resultss to the store.

Applies to