5 references to UseDistributedCache
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
58
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
AzureAIInferenceImageEmbeddingGeneratorTests.cs (1)
58
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
Microsoft.Extensions.AI.Integration.Tests (1)
EmbeddingGeneratorIntegrationTests.cs (1)
89
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
62
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
85
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))