SearchModelFactory.AzureOpenAIVectorizer 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 Azure OpenAI resource used to vectorize a query string.
public static Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizer AzureOpenAIVectorizer(string vectorizerName = default, Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizerParameters parameters = default);
static member AzureOpenAIVectorizer : string * Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizerParameters -> Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizer
Public Shared Function AzureOpenAIVectorizer (Optional vectorizerName As String = Nothing, Optional parameters As AzureOpenAIVectorizerParameters = Nothing) As AzureOpenAIVectorizer
Parameters
- vectorizerName
- String
The name to associate with this particular vectorization method.
- parameters
- AzureOpenAIVectorizerParameters
Contains the parameters specific to Azure OpenAI embedding vectorization.
Returns
A new AzureOpenAIVectorizer instance for mocking.