AccuralAI Google Backend
This package provides the Google GenAI backend adapter for the AccuralAI orchestration core. It wraps the official google-genai client so the orchestrator can target Gemini models with the same pipeline used for other local or remote backends.
Features
- Async-compatible adapter that internally uses
google-genai's synchronous client. - Configurable model, generation parameters, safety settings, and client options.
- Pulls API keys from configuration or the
GOOGLE_GENAI_API_KEYenvironment variable. - Converts Google usage metadata into AccuralAI's standard
Usagepayload.
Installation
pip install accuralai-google
Configuration
From accuralai-core, reference the backend ID you register under backends:
[backends.google]
plugin = "google"
[backends.google.options]
model = "gemini-1.5-pro"
generation_config = { temperature = 0.7 }
Provide an API key either in the options (api_key = "...") or via GOOGLE_GENAI_API_KEY.
Metadata
Release files for accuralai-google 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| accuralai_google-0.2.1.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| accuralai_google-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / accuralai_google-0.2.1.tar.gz
| Download URL | accuralai_google-0.2.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fdf53e1846fa40efbd5380ac34415aa5e2a59943b979627326e2dccc944131e
|
|
BLAKE2b-256 checksum How to use checksums |
f0f0ae2c9185712e31c9dd87a70c630ca844a6f62e433d18578b6d6a468b2152
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / accuralai_google-0.2.1-py3-none-any.whl
| Download URL | accuralai_google-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c60981545f24bfb0aa739dd66dda5b64fe2d0b4a2f36104e2beb89d2ce430783
|
|
BLAKE2b-256 checksum How to use checksums |
76f9a828957a8d8e3d741bf617e806f7676a03a3776e5d60bccf5bd1f45b2bfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|