Skip to main content

Agent Framework plugin for services using Reverie's API.

Project description

LiveKit Reverie Plugin

This plugin provides Indic language speech-to-text capabilities using Reverie's STT API.

Signup here to create API keys.

Installation

pip install livekit-plugins-reverie

Configuration

You need to set the following environment variables:

  • REVERIE_API_KEY: Your Reverie API key
  • REVERIE_APP_ID: Your Reverie App ID

Usage

from livekit.plugins import reverie
from livekit.agents import stt

# Create STT instance with all available options
reverie_stt = reverie.STT(
    language="hi_en",       # Language code (default: "hi_en")
    domain="generic",       # Domain context (default: "generic")
    continuous=True,        # Continuous streaming (default: True)
    silence=0.5,           # Return final after silence in seconds (default: 0.5, max: 30)
    format="16k_int16",    # Audio format (default: "16k_int16")
    punctuate=False,       # Enable punctuation (default: False)
)

Supported Languages

Reverie supports multiple Indian languages. Common language codes include:

  • hi_en - Hinglish
  • hi - Hindi
  • en - English
  • bn - Bengali
  • ta - Tamil
  • te - Telugu
  • mr - Marathi
  • gu - Gujarati
  • kn - Kannada
  • ml - Malayalam
  • pa - Punjabi
  • or - Odia
  • as - Assamese

Configuration Parameters

Core Parameters

  • language: Language code for recognition (e.g., "hi_en", "hi", "en", "bn") - Default: "hi_en"
  • domain: Context domain for transcription (e.g., "generic") - Default: "generic"

Audio & Format

  • format: Audio format specification - Default: "16k_int16"
  • sample_rate: Audio sample rate in Hz - Default: 16000

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_reverie-1.0.0.tar.gz (6.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_reverie-1.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_reverie-1.0.0.tar.gz.

File metadata

  • Download URL: livekit_plugins_reverie-1.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for livekit_plugins_reverie-1.0.0.tar.gz
Algorithm Hash digest
SHA256 979644f4298977c79a8981844d83c52a96360dbe35028a5adcd0ca93aea4abfe
MD5 394112c1a7c2587748633acb536e12d3
BLAKE2b-256 d205df1494c76312a0003098597f8574324102d6a421e6909d2b3086b0cda84d

See more details on using hashes here.

File details

Details for the file livekit_plugins_reverie-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_reverie-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b3077dc402432b63ca1a73675e028dcc8c2b05715a16f2650ec6d100a248279
MD5 c5fa2268913eae789de8e5c3238fb5ff
BLAKE2b-256 f077e5a99495b723382b6b69fc007be7976dfdbfae4fa48023aede28789d46fe

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