5 references to AzureAIInferenceEmbeddingGenerator
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceExtensions.cs (1)
26new AzureAIInferenceEmbeddingGenerator(embeddingsClient, modelId, dimensions);
Microsoft.Extensions.AI.AzureAIInference.Tests (4)
AzureAIInferenceEmbeddingGeneratorTests.cs (4)
23Assert.Throws<ArgumentNullException>("embeddingsClient", () => new AzureAIInferenceEmbeddingGenerator(null!)); 26Assert.Throws<ArgumentException>("modelId", () => new AzureAIInferenceEmbeddingGenerator(client, "")); 27Assert.Throws<ArgumentException>("modelId", () => new AzureAIInferenceEmbeddingGenerator(client, " ")); 29using var _ = new AzureAIInferenceEmbeddingGenerator(client);