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