SonusAI ASR Cloud
Cloud ASR tools for SonusAI.
SonusAI ASR Cloud provides provider-specific adapters for cloud speech-to-text services and normalizes responses into SonusAI ASR result types.
Key Features
- Multiple Cloud Providers: aiXplain Whisper, Deepgram, and SpeechRecognition (Google Cloud Speech API).
- Unified Return Type: Provider outputs are normalized to
ASRResult. - Validation Helpers: Each provider includes config/environment validation helpers.
- SonusAI Integration: Uses SonusAI datatypes and utility helpers for audio conversion and output formatting.
Getting Started
Prerequisites
- Python
3.13or3.14 uv
Install
uv sync
source .venv/bin/activate
Provider Requirements
- aiXplain Whisper
- Pass
modelin provider config. - Set environment variable:
AIXP_WHISPER_<MODEL>.
- Pass
- Deepgram
- Set environment variable:
DEEPGRAM_API_KEY.
- Set environment variable:
- Google (SpeechRecognition)
- Configure runtime credentials for Google Cloud Speech as required by the underlying backend.
Usage Notes
Provider functions live under sonusai_asr_cloud/asr_functions/ and expose:
*_validate(**config)for preflight checks.- provider call function (for example
deepgram(audio, **config)) returningASRResult.
Development
- Development Guide: docs/development.md
- Agent/Contributor Guidance: CLAUDE.md
Common Commands
pytest
./build_wheels.sh
./publish.sh
Project Context
Release files for sonusai-asr-cloud 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sonusai_asr_cloud-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / sonusai_asr_cloud-1.3.2-py3-none-any.whl
| Download URL | sonusai_asr_cloud-1.3.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1688decf17533417d56f9c6449548e5bbb444be8c829af5c2390d2a67f2cf01
|
|
BLAKE2b-256 checksum How to use checksums |
71e6691328be1b0bfbdcd3f484715545a8c93d0900314ff97babbc4ba0e69452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|