AzureMachineLearningVectorizer Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. VectorSearchVectorizer - com.
azure. search. documents. indexes. models. AzureMachineLearningVectorizer
- com.
- com.
public final class AzureMachineLearningVectorizer
extends VectorSearchVectorizer
Specifies an Azure Machine Learning endpoint deployed via the Azure AI Foundry Model Catalog for generating the vector embedding of a query string.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureMachineLearningVectorizer(String vectorizerName) |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Vector |
getKind()
Get the kind property: Type of Vector |
|
Azure |
getParameters()
Get the parameters property: Specifies the properties of the AML vectorizer. |
|
Azure |
setParameters(AzureMachineLearningParameters parameters)
Set the parameters property: Specifies the properties of the AML vectorizer. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from VectorSearchVectorizer
Methods inherited from java.lang.Object
Constructor Details
AzureMachineLearningVectorizer
public AzureMachineLearningVectorizer(String vectorizerName)
Creates an instance of AzureMachineLearningVectorizer class.
Parameters:
Method Details
fromJson
public static AzureMachineLearningVectorizer fromJson(JsonReader jsonReader)
Reads an instance of AzureMachineLearningVectorizer from the JsonReader.
Parameters:
Returns:
Throws:
getKind
public VectorSearchVectorizerKind getKind()
Get the kind property: Type of VectorSearchVectorizer.
Overrides:
AzureMachineLearningVectorizer.getKind()Returns:
getParameters
public AzureMachineLearningParameters getParameters()
Get the parameters property: Specifies the properties of the AML vectorizer.
Returns:
setParameters
public AzureMachineLearningVectorizer setParameters(AzureMachineLearningParameters parameters)
Set the parameters property: Specifies the properties of the AML vectorizer.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureMachineLearningVectorizer.toJson(JsonWriter jsonWriter)Parameters:
Throws: