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)
40IDistributedCache cache = await provider.GetCacheAsync(nameof(AddUncachedEntry), iterationName); 63IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 92IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 115IDistributedCache cache = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 117IDistributedCache cache2 = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 142IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 159cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 174IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName);