SearchModelFactory.AIServicesVisionParameters 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 AI Services Vision parameters for vectorizing a query image or text.
public static Azure.Search.Documents.Indexes.Models.AIServicesVisionParameters AIServicesVisionParameters(string modelVersion = default, Uri resourceUri = default, string apiKey = default, Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity authIdentity = default);
static member AIServicesVisionParameters : string * Uri * string * Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity -> Azure.Search.Documents.Indexes.Models.AIServicesVisionParameters
Public Shared Function AIServicesVisionParameters (Optional modelVersion As String = Nothing, Optional resourceUri As Uri = Nothing, Optional apiKey As String = Nothing, Optional authIdentity As SearchIndexerDataIdentity = Nothing) As AIServicesVisionParameters
Parameters
- modelVersion
- String
The version of the model to use when calling the AI Services Vision service. It will default to the latest available when not specified.
- resourceUri
- Uri
The resource URI of the AI Services resource.
- apiKey
- String
API key of the designated AI Services resource.
- authIdentity
- SearchIndexerDataIdentity
The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the index, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
Returns
A new AIServicesVisionParameters instance for mocking.