Skip to main content

Agent Framework plugin for STT and TTS services using SLNG's gateway.

Project description

SLNG plugin for LiveKit Agents

Support for SLNG's voice AI gateway in LiveKit Agents, providing access to multiple STT and TTS providers through a unified API.

See https://docs.slng.ai/ for more information.

Installation

pip install livekit-plugins-slng

Pre-requisites

You'll need an API key from SLNG. It can be set as an environment variable: SLNG_API_KEY

Region override

The plugin supports gateway region routing via the region_override option on both STT and TTS. This maps directly to the gateway's X-Region-Override header. See the available regions at docs.slng.ai/region-override.

You can pass either a single region:

stt = slng.STT(
    api_key="your-slng-api-key",
    model="deepgram/nova:3",
    region_override="eu-west-1",
)

Or multiple preferred regions in priority order:

tts = slng.TTS(
    api_key="your-slng-api-key",
    model="deepgram/aura:2",
    voice="aura-2-thalia-en",
    region_override=["eu-west-1", "us-east-1"],
)

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_slng-1.5.19rc1.tar.gz (19.8 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_slng-1.5.19rc1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_slng-1.5.19rc1.tar.gz.

File metadata

  • Download URL: livekit_plugins_slng-1.5.19rc1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for livekit_plugins_slng-1.5.19rc1.tar.gz
Algorithm Hash digest
SHA256 cdddb15a4194e8359176ffec8bcbd69c9a67dac859f26f1aec707313c3a19163
MD5 fe7b6530c2fe74752b9690fdd9ba91e6
BLAKE2b-256 31408c2f7ef719b4792abbaad617528e0505fca6d9b32a35e4ed5cd1d4251df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_slng-1.5.19rc1.tar.gz:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livekit_plugins_slng-1.5.19rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_slng-1.5.19rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ceb39ef0bd8656d1126ccc64b84dc35733bd2a825be02b1e10e8dea95ed776
MD5 d3203365725c0ce9c87c30a4a637e2d5
BLAKE2b-256 06f7e000b2059d92fa9978bad2e378e5332fc3ff3f721d91792076e6e11d1e7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_slng-1.5.19rc1-py3-none-any.whl:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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