Skip to main content

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.13 or 3.14
  • uv

Install

uv sync
source .venv/bin/activate

Provider Requirements

  • aiXplain Whisper
    • Pass model in provider config.
    • Set environment variable: AIXP_WHISPER_<MODEL>.
  • Deepgram
    • Set environment variable: DEEPGRAM_API_KEY.
  • 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)) returning ASRResult.

Development

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)

Table of built distributions (wheels) for sonusai-asr-cloud 1.3.2
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

1.3.2 This release

1 release file

1.3.0

1 release file

0.2.0

1 release file

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page