AzureAIInferenceEmbeddingGenerator Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.