Share via


AzureAIInferenceEmbeddingGenerator Constructor

Definition

public AzureAIInferenceEmbeddingGenerator (Azure.AI.Inference.EmbeddingsClient embeddingsClient, string? modelId = default, int? dimensions = default);
new Microsoft.Extensions.AI.AzureAIInferenceEmbeddingGenerator : Azure.AI.Inference.EmbeddingsClient * string * Nullable<int> -> Microsoft.Extensions.AI.AzureAIInferenceEmbeddingGenerator
Public Sub New (embeddingsClient As EmbeddingsClient, Optional modelId As String = Nothing, Optional dimensions As Nullable(Of Integer) = Nothing)

Parameters

embeddingsClient
EmbeddingsClient
modelId
String
dimensions
Nullable<Int32>

Applies to