Share via


VisionServiceOptions Class

Represents the configuration options used to connect to a remote Vision AI Service

key securely. For example, using Azure Key Vault. Do not compile the value of your key into your application source code. Fetch it at run-time when needed from a secure location.

Constructor

VisionServiceOptions(endpoint: str, key: str | None = None)

Parameters

Name Description
endpoint
Required

The endpoint URL of the Vision Service

key

The Computer Vision key used to authenticate against the Vision Service. Store your

Default value: None

Attributes

advanced

Advanced options for the Vision Service.

authorization_token

The authorization token that will be used for connecting to the service.