2 implementations of GetCacheAsync
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Storage\DiskBasedResponseCacheProvider.cs (1)
47public ValueTask<IDistributedCache> GetCacheAsync(
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Storage\AzureStorageResponseCacheProvider.cs (1)
48public ValueTask<IDistributedCache> GetCacheAsync(
9 references to GetCacheAsync
Microsoft.Extensions.AI.Evaluation.Reporting (1)
ReportingConfiguration.cs (1)
234await ResponseCacheProvider.GetCacheAsync(
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (8)
ResponseCacheTester.cs (8)
41IDistributedCache cache = await provider.GetCacheAsync(nameof(AddUncachedEntry), iterationName); 62IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 89IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 110IDistributedCache cache = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 112IDistributedCache cache2 = await provider.GetCacheAsync(nameof(MultipleCacheInstances), "Async"); 137IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 152cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName); 167IDistributedCache cache = await provider.GetCacheAsync(nameof(RemoveCachedEntry), iterationName);