2 references to EmbeddingGeneratorExtensions
Microsoft.Extensions.AI.Abstractions.Tests (2)
Embeddings\EmbeddingGeneratorExtensionsTests.cs (2)
16Assert.Throws<ArgumentNullException>("generator", () => EmbeddingGeneratorExtensions.GetService<object>(null!)); 17Assert.Throws<ArgumentNullException>("generator", () => EmbeddingGeneratorExtensions.GetService<string, Embedding<double>, object>(null!));