AzureStorageResponseCacheProvider Class
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.
An IEvaluationResponseCacheProvider that returns an IDistributedCache that can cache AI responses for a particular ScenarioRun under an Azure Storage container.
public ref class AzureStorageResponseCacheProvider sealed : Microsoft::Extensions::AI::Evaluation::Reporting::IEvaluationResponseCacheProvider
public sealed class AzureStorageResponseCacheProvider : Microsoft.Extensions.AI.Evaluation.Reporting.IEvaluationResponseCacheProvider
type AzureStorageResponseCacheProvider = class
interface IEvaluationResponseCacheProvider
Public NotInheritable Class AzureStorageResponseCacheProvider
Implements IEvaluationResponseCacheProvider
- Inheritance
-
AzureStorageResponseCacheProvider
- Implements
Constructors
AzureStorageResponseCacheProvider(DataLakeDirectoryClient, Nullable<TimeSpan>) |
An IEvaluationResponseCacheProvider that returns an IDistributedCache that can cache AI responses for a particular ScenarioRun under an Azure Storage container. |
Methods
DeleteExpiredCacheEntriesAsync(CancellationToken) |
Deletes expired cache entries for all ScenarioRuns. |
GetCacheAsync(String, String, CancellationToken) |
Returns an IDistributedCache that caches all the AI responses associated with the
ScenarioRun with the supplied |
ResetAsync(CancellationToken) |
Deletes cached AI responses for all ScenarioRuns. |