3 references to AnonymousDelegatingEmbeddingGenerator
Microsoft.Extensions.AI (1)
Embeddings\EmbeddingGeneratorBuilder.cs (1)
103return Use((innerGenerator, _) => new AnonymousDelegatingEmbeddingGenerator<TInput, TEmbedding>(innerGenerator, generateFunc));
Microsoft.Extensions.AI.Tests (2)
Embeddings\UseDelegateEmbeddingGeneratorTests.cs (2)
24new AnonymousDelegatingEmbeddingGenerator<string, Embedding<float>>( 28new AnonymousDelegatingEmbeddingGenerator<string, Embedding<float>>(generator, null!));