Microsoft.Extensions.AI.Evaluation.Reporting.Storage Namespace

Contains classes for storing the results of large language model (LLM) evaluations and for caching LLM responses produced during such evaluations.

Classes

AzureStorageReportingConfiguration

Contains factory method for creating a ReportingConfiguration that persists ScenarioRunResults to Azure Storage and also uses the storage to cache AI responses.

AzureStorageResponseCacheProvider

An IEvaluationResponseCacheProvider that returns an IDistributedCache that can cache AI responses for a particular ScenarioRun under an Azure Storage container.

AzureStorageResultStore

An IEvaluationResultStore implementation that stores ScenarioRunResults under an Azure Storage container.

DiskBasedReportingConfiguration

Contains factory method for creating a ReportingConfiguration that persists ScenarioRunResults to disk and also uses the disk to cache AI responses.

DiskBasedResponseCacheProvider

An IEvaluationResponseCacheProvider that returns an IDistributedCache that can cache AI responses for a particular ScenarioRun under the specified storageRootPath on disk.

DiskBasedResultStore

An IEvaluationResultStore implementation that stores ScenarioRunResults on disk.