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