SearchModelFactory.VectorSearchVectorizer(String, String) 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 the vectorization method to be used during query time. Please note this is the abstract base class. The derived classes available for instantiation are: AzureOpenAIVectorizer, WebApiVectorizer, and AzureMachineLearningVectorizer.
public static Azure.Search.Documents.Indexes.Models.VectorSearchVectorizer VectorSearchVectorizer(string vectorizerName = default, string kind = default);
static member VectorSearchVectorizer : string * string -> Azure.Search.Documents.Indexes.Models.VectorSearchVectorizer
Public Shared Function VectorSearchVectorizer (Optional vectorizerName As String = Nothing, Optional kind As String = Nothing) As VectorSearchVectorizer
Parameters
- vectorizerName
- String
The name to associate with this particular vectorization method.
- kind
- String
Type of VectorSearchVectorizer.
Returns
A new VectorSearchVectorizer instance for mocking.