WebApiVectorizer Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. VectorSearchVectorizer - com.
azure. search. documents. indexes. models. WebApiVectorizer
- com.
- com.
public final class WebApiVectorizer
extends VectorSearchVectorizer
Specifies a user-defined vectorizer for generating the vector embedding of a query string. Integration of an external vectorizer is achieved using the custom Web API interface of a skillset.
Constructor Summary
| Constructor | Description |
|---|---|
| WebApiVectorizer(String vectorizerName) |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
|
Vector |
getKind()
Get the kind property: The name of the kind of vectorization method being configured for use with vector search. |
|
Web |
getWebApiParameters()
Get the web |
|
Web |
setWebApiParameters(WebApiVectorizerParameters webApiParameters)
Set the web |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from VectorSearchVectorizer
Methods inherited from java.lang.Object
Constructor Details
WebApiVectorizer
public WebApiVectorizer(String vectorizerName)
Creates an instance of WebApiVectorizer class.
Parameters:
Method Details
fromJson
public static WebApiVectorizer fromJson(JsonReader jsonReader)
Reads an instance of WebApiVectorizer from the JsonReader.
Parameters:
Returns:
Throws:
getKind
public VectorSearchVectorizerKind getKind()
Get the kind property: The name of the kind of vectorization method being configured for use with vector search.
Overrides:
WebApiVectorizer.getKind()Returns:
getWebApiParameters
public WebApiVectorizerParameters getWebApiParameters()
Get the webApiParameters property: Specifies the properties of the user-defined vectorizer.
Returns:
setWebApiParameters
public WebApiVectorizer setWebApiParameters(WebApiVectorizerParameters webApiParameters)
Set the webApiParameters property: Specifies the properties of the user-defined vectorizer.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebApiVectorizer.toJson(JsonWriter jsonWriter)Parameters:
Throws: