Skip to main content

Agent Framework plugin for services using Soniox's API.

Project description

Soniox plugin for LiveKit Agents

Support for Soniox Speech-to-Text Soniox API, using WebSocket streaming interface.

See https://docs.livekit.io/agents/integrations/stt/soniox/ for more information.

Installation

pip install livekit-plugins-soniox

Pre-requisites

The Soniox plugin requires an API key to authenticate. You can get your Soniox API key here.

Set API key in your .env file:

SONIOX_API_KEY=<your_soniox_api_key>

Usage

Use Soniox in an AgentSession or as a standalone transcription service:

from livekit.plugins import soniox

session = AgentSession(
    stt = soniox.STT(),
    # ... llm, tts, etc.
)

Congratulations! You are now ready to use Soniox Speech-to-Text API in your LiveKit agents.

You can test Soniox Speech-to-Text API in the LiveKit's Voice AI quickstart.

More information and reference

Explore integration details and find comprehensive examples in our Soniox LiveKit integration guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livekit_plugins_soniox-1.5.0rc1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_soniox-1.5.0rc1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_soniox-1.5.0rc1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_soniox-1.5.0rc1.tar.gz
Algorithm Hash digest
SHA256 06f4279c4689d97c35a4e607d35ffa263f3f39eb35bbe969a70f3bd34fb342cf
MD5 0f7b7a64a5e4dfdcdee27add5159e5d7
BLAKE2b-256 6d8f8fa1b0e18a0de1523c3641f73a7b229ad932bdbd2e287dfa8a689e46ba53

See more details on using hashes here.

File details

Details for the file livekit_plugins_soniox-1.5.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_soniox-1.5.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d871d95f1af766fcd9e14ed6128b39ab4e545fc8418a50f68bad063c0355bc3
MD5 e3d1b0d87d88b62baf46a82a8e9776ab
BLAKE2b-256 6b3a26514b192fe1f1f7fd05cec039ed60fee0b96e0afc6ad312cb073cd87f9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page