2 implementations of GetCacheAsync
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Storage\DiskBasedResponseCacheProvider.cs (1)
42public ValueTask<IDistributedCache> GetCacheAsync(
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Storage\AzureStorageResponseCacheProvider.cs (1)
43public ValueTask<IDistributedCache> GetCacheAsync(
9 references to GetCacheAsync
Microsoft.Extensions.AI.Evaluation.Reporting (1)
ReportingConfiguration.cs (1)
232await ResponseCacheProvider.GetCacheAsync(
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (8)
ResponseCacheTester.cs (8)
36IDistributedCache cache = await provider.GetCacheAsync(nameof(AddUncachedEntry), iterationName); 59IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 88IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 111IDistributedCache cache = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 113IDistributedCache cache2 = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 138IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 155cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 170IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName);