2 references to Use
Microsoft.Extensions.AI.Tests (2)
Embeddings\UseDelegateEmbeddingGeneratorTests.cs (2)
21builder.Use((Func<IEnumerable<string>, EmbeddingGenerationOptions?, IEmbeddingGenerator<string, Embedding<float>>, CancellationToken, Task<GeneratedEmbeddings<Embedding<float>>>>)null!)); 53.Use(async (values, options, innerGenerator, cancellationToken) =>