Llimona addon providing an Azure OpenAI provider integration.
Project description
llimona-azure-openai
llimona-azure-openai is the Azure provider addon for Llimona.
It integrates Azure OpenAI as a pluggable backend provider so Llimona can expose OpenAI-compatible interfaces while forwarding requests to Azure OpenAI endpoints.
What this addon provides
- A provider addon discoverable through the
llimona.addonentry-point group (azure_openai). - A provider type:
azure_openai. - OpenAI Responses integration (
create,retrieve, andcancel). - OpenAI Models integration (
list,retrieve, anddelete). - Streaming and non-streaming response mapping into Llimona interface models.
Provider behavior
The addon builds an AsyncAzureOpenAI client from provider configuration:
base_url: Azure OpenAI endpoint base URL.credentials.api_key: API key used for authentication.api_version:v1.
For response creation, the provider:
- Validates whether the target model allows the requested service.
- Translates Llimona request fields into Azure OpenAI Responses API parameters.
- Calls Azure OpenAI.
- Maps the returned payload (including stream events) into Llimona response/event types.
Typical use cases
- Expose Azure OpenAI through a unified Llimona gateway.
- Combine Azure regions/providers behind a single routing layer.
- Reuse Llimona contexts, constraints, and sensors with Azure-backed workloads.
- Keep provider logic modular and independent from core application code.
Minimal provider example
type: azure_openai
name: azure_example
display_name: Azure Example
base_url: https://<your-resource>.openai.azure.com/openai/v1/
credentials:
api_key: <your-api-key>
services:
- type: openai_responses
- type: openai_models
models:
- name: gpt-4o-mini
allowed_services:
- openai_responses
Installation
From PyPI:
pip install llimona-azure-openai
# or
uv add llimona-azure-openai
Notes
- This addon is designed to be loaded by a Llimona app configuration via
provider_addons. - Service-level access can be constrained per model using
allowed_services. - Observability is inherited from Llimona contexts and sensors, so Azure-backed requests remain traceable and measurable.
License
This addon uses the same license as the llimona package: GNU AFFERO GENERAL PUBLIC LICENSE. See the repository LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llimona_azure_openai-0.1.0rc0.tar.gz.
File metadata
- Download URL: llimona_azure_openai-0.1.0rc0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4471073fade1651ff6c653bd99127ae49d49936ddb7b871529f1642423ccf01c
|
|
| MD5 |
fa431084a5a02b5d6eab848464d2ba86
|
|
| BLAKE2b-256 |
6ce07be1cb67b4ba259e6201ca52771ae6f960b7e85ce4aa00ed3a79a70963eb
|
Provenance
The following attestation bundles were made for llimona_azure_openai-0.1.0rc0.tar.gz:
Publisher:
push_code.yaml on llimona-org/llimona-azure-openai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llimona_azure_openai-0.1.0rc0.tar.gz -
Subject digest:
4471073fade1651ff6c653bd99127ae49d49936ddb7b871529f1642423ccf01c - Sigstore transparency entry: 1758439395
- Sigstore integration time:
-
Permalink:
llimona-org/llimona-azure-openai@9c0b28883b6f8bba4af2b70ac7834025dec6cd9d -
Branch / Tag:
refs/heads/release/0.1 - Owner: https://github.com/llimona-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push_code.yaml@9c0b28883b6f8bba4af2b70ac7834025dec6cd9d -
Trigger Event:
push
-
Statement type:
File details
Details for the file llimona_azure_openai-0.1.0rc0-py3-none-any.whl.
File metadata
- Download URL: llimona_azure_openai-0.1.0rc0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b42378e94431451996a6bca465962b88a59b0d18528f713d0276f829af1cc22e
|
|
| MD5 |
17f3177db4706c069c5eae36ba149d68
|
|
| BLAKE2b-256 |
a5914ba681f2e0afbfdf7224a88554c4ceef1f91ed539d71e6dd3cb14e9cd1fd
|
Provenance
The following attestation bundles were made for llimona_azure_openai-0.1.0rc0-py3-none-any.whl:
Publisher:
push_code.yaml on llimona-org/llimona-azure-openai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llimona_azure_openai-0.1.0rc0-py3-none-any.whl -
Subject digest:
b42378e94431451996a6bca465962b88a59b0d18528f713d0276f829af1cc22e - Sigstore transparency entry: 1758439429
- Sigstore integration time:
-
Permalink:
llimona-org/llimona-azure-openai@9c0b28883b6f8bba4af2b70ac7834025dec6cd9d -
Branch / Tag:
refs/heads/release/0.1 - Owner: https://github.com/llimona-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push_code.yaml@9c0b28883b6f8bba4af2b70ac7834025dec6cd9d -
Trigger Event:
push
-
Statement type: