SearchModelFactory.AzureMachineLearningVectorizer Method

Definition

Specifies an Azure Machine Learning endpoint deployed via the Azure AI Foundry Model Catalog for generating the vector embedding of a query string.

public static Azure.Search.Documents.Indexes.Models.AzureMachineLearningVectorizer AzureMachineLearningVectorizer(string vectorizerName = default, Azure.Search.Documents.Indexes.Models.AzureMachineLearningParameters amlParameters = default);
static member AzureMachineLearningVectorizer : string * Azure.Search.Documents.Indexes.Models.AzureMachineLearningParameters -> Azure.Search.Documents.Indexes.Models.AzureMachineLearningVectorizer
Public Shared Function AzureMachineLearningVectorizer (Optional vectorizerName As String = Nothing, Optional amlParameters As AzureMachineLearningParameters = Nothing) As AzureMachineLearningVectorizer

Parameters

vectorizerName
String

The name to associate with this particular vectorization method.

amlParameters
AzureMachineLearningParameters

Specifies the properties of the AML vectorizer.

Returns

A new AzureMachineLearningVectorizer instance for mocking.

Applies to