4 references to UseDistributedCache
Microsoft.Extensions.AI.Integration.Tests (1)
EmbeddingGeneratorIntegrationTests.cs (1)
85
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaEmbeddingGeneratorTests.cs (1)
34
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
83
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))
105
.
UseDistributedCache
(new MemoryDistributedCache(Options.Options.Create(new MemoryDistributedCacheOptions())))