yera.setup.model_discovery.azure

Azure OpenAI model discovery handler.

Symbols

class AzureModelSetup — Handler for discovering model deployments from Azure OpenAI.

AzureModelSetup

Handler for discovering model deployments from Azure OpenAI.

Unlike other providers, Azure requires models to be 'deployed' before they can be used. This class discovers these deployments within a specific Azure Cognitive Services account and classifies them by their underlying model type.

Methods

get_config — Obtain model configuration from Azure OpenAI deployments.

AzureModelSetup.get_config

get_config() → SetupResult[list[BaseModelConfig]]

Obtain model configuration from Azure OpenAI deployments.

Only successfully provisioned deployments with supported underlying model types are returned. Expected Azure authentication and management client failures are returned as blocking errors.

Returns

type: SetupResult[list[BaseModelConfig]]

Supported Azure OpenAI model configuration and discovery diagnostics.