yera.models.interfaces.llms.azure_openai

Module containing the interface to Azure OpenAI LLMs.

Symbols

class AzureOpenAILLM — Interface to Azure OpenAI llms.

AzureOpenAILLM

Inherits: OpenAILLM

Interface to Azure OpenAI llms.

Specialisation of OpenAILLM configured to work with Azure's OpenAI service. Handles Azure-specific authentication and endpoint configuration, whilst inheriting all standard chat and structured output functionality from the OpenAI interface.

Attributes

config
type: LLMConfig

Configuration settings for the llm including model_id and inference parameters.

connection
type: AzureConnection

Azure connection configuration including API key, endpoint, and deployment information.

client
type: AzureOpenAI

Lazy-initialised Azure OpenAI client instance.

Methods

start — Initialise the Azure OpenAI client.

AzureOpenAILLM.start

start() → None

Initialise the Azure OpenAI client.

Creates and stores an Azure OpenAI client instance using the configured Azure connection settings (API key, endpoint, deployment). This method must be called before making any API requests via the client property.