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