SearchModelFactory.AzureOpenAIVectorizerParameters 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 parameters for connecting to the Azure OpenAI resource.
public static Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizerParameters AzureOpenAIVectorizerParameters(Uri resourceUri = default, string deploymentName = default, string apiKey = default, Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity authenticationIdentity = default, Azure.Search.Documents.Indexes.Models.AzureOpenAIModelName? modelName = default);
static member AzureOpenAIVectorizerParameters : Uri * string * string * Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity * Nullable<Azure.Search.Documents.Indexes.Models.AzureOpenAIModelName> -> Azure.Search.Documents.Indexes.Models.AzureOpenAIVectorizerParameters
Public Shared Function AzureOpenAIVectorizerParameters (Optional resourceUri As Uri = Nothing, Optional deploymentName As String = Nothing, Optional apiKey As String = Nothing, Optional authenticationIdentity As SearchIndexerDataIdentity = Nothing, Optional modelName As Nullable(Of AzureOpenAIModelName) = Nothing) As AzureOpenAIVectorizerParameters
Parameters
- resourceUri
- Uri
The resource URI of the Azure OpenAI resource.
- deploymentName
- String
ID of the Azure OpenAI model deployment on the designated resource.
- apiKey
- String
API key of the designated Azure OpenAI resource.
- authenticationIdentity
- SearchIndexerDataIdentity
The user-assigned managed identity used for outbound connections.
- modelName
- Nullable<AzureOpenAIModelName>
The name of the embedding model that is deployed at the provided deploymentId path.
Returns
A new AzureOpenAIVectorizerParameters instance for mocking.