次の方法で共有


AzureStorageResponseCacheProvider Class

Definition

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

Constructors

AzureStorageResponseCacheProvider(DataLakeDirectoryClient, Nullable<TimeSpan>)

An IResponseCacheProvider that returns a AzureStorageResponseCache.

Methods

DeleteExpiredCacheEntriesAsync(CancellationToken)

Deletes expired cache entries for all ScenarioRuns.

GetCacheAsync(String, String, CancellationToken)

Returns an IDistributedCache that caches the AI responses associated with a particular ScenarioRun.

ResetAsync(CancellationToken)

Deletes cached AI responses for all ScenarioRuns.

Applies to