5 instantiations of 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);
2 references to AzureAIInferenceEmbeddingGenerator
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceEmbeddingGenerator.cs (1)
34/// <summary>Initializes a new instance of the <see cref="AzureAIInferenceEmbeddingGenerator"/> class.</summary>
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
29using var _ = new AzureAIInferenceEmbeddingGenerator(client);