SearchModelFactory.WebApiVectorizer Method
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.
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.
public static Azure.Search.Documents.Indexes.Models.WebApiVectorizer WebApiVectorizer(string vectorizerName = default, Azure.Search.Documents.Indexes.Models.WebApiVectorizerParameters parameters = default);
static member WebApiVectorizer : string * Azure.Search.Documents.Indexes.Models.WebApiVectorizerParameters -> Azure.Search.Documents.Indexes.Models.WebApiVectorizer
Public Shared Function WebApiVectorizer (Optional vectorizerName As String = Nothing, Optional parameters As WebApiVectorizerParameters = Nothing) As WebApiVectorizer
Parameters
- vectorizerName
- String
The name to associate with this particular vectorization method.
- parameters
- WebApiVectorizerParameters
Specifies the properties of the user-defined vectorizer.
Returns
A new WebApiVectorizer instance for mocking.