6 references to Use
Microsoft.Extensions.AI (5)
Embeddings\DistributedCachingEmbeddingGeneratorBuilderExtensions.cs (1)
35return builder.Use((innerGenerator, services) =>
Embeddings\EmbeddingGeneratorBuilder.cs (2)
73return Use((innerGenerator, _) => generatorFactory(innerGenerator)); 103return Use((innerGenerator, _) => new AnonymousDelegatingEmbeddingGenerator<TInput, TEmbedding>(innerGenerator, generateFunc));
Embeddings\LoggingEmbeddingGeneratorBuilderExtensions.cs (1)
32return builder.Use((innerGenerator, services) =>
Embeddings\OpenTelemetryEmbeddingGeneratorBuilderExtensions.cs (1)
34Throw.IfNull(builder).Use((innerGenerator, services) =>
Microsoft.Extensions.AI.Tests (1)
Embeddings\EmbeddingGeneratorBuilderTests.cs (1)
25builder.Use((innerClient, services) =>