Skip to main content

Reson8 STT plugin for LiveKit Agents

Project description

livekit-plugins-reson8

Reson8 STT plugin for LiveKit Agents.

Supports real-time streaming and prerecorded speech-to-text across Dutch, English, French, German, Italian, Polish, Portuguese, Spanish, and Swedish.

For full API documentation, see docs.reson8.dev.

Installation

pip install livekit-plugins-reson8

Usage

from livekit.plugins import reson8

stt = reson8.STT(
    api_key="your-api-key",   # or set RESON8_API_KEY
    language="nl",
)

With an Agent

from livekit.agents import Agent, AgentSession
from livekit.plugins import reson8

agent = Agent(
    instructions="You are a helpful assistant.",
    stt=reson8.STT(language="nl"),
    llm=...,  # any LLM
    tts=...,  # any TTS
)

session = AgentSession()
await session.start(agent=agent, room=ctx.room)

Configuration

Parameter Env var Default Description
api_key RESON8_API_KEY required API key from console.reson8.dev
api_url RESON8_API_URL https://api.reson8.dev API base URL
language -- nl Language code (nl, en, fr, de, it, pl, pt, es, sv)
custom_model_id -- None ID of a custom model for domain-specific transcription
sample_rate -- 16000 Audio sample rate in Hz
include_timestamps -- False Include timing data on transcripts
include_words -- False Include word-level detail
include_confidence -- False Include confidence scores

Links

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_reson8-0.1.1.tar.gz (10.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_reson8-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_reson8-0.1.1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_reson8-0.1.1.tar.gz
Algorithm Hash digest
SHA256 10b033b77bcc9bf37b863a04b27290fc7e578ab3742d3ab328590ade61bec606
MD5 a0db192b0c21d7dee8ae6698dfb9f4ee
BLAKE2b-256 398c351f45c7cef11ecf759a8e9fecb4b104738ecbe8dbccc9178c87ddb931c5

See more details on using hashes here.

File details

Details for the file livekit_plugins_reson8-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_reson8-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 630cf87b5e78bc9dbb6c8422c3515492c5d2280ef8831e9724967e90442f0d65
MD5 f3a01e01dc05902369b9bb2899b60e39
BLAKE2b-256 fa5f1b505a09f67d4e5aabe55807bd2662230c734ecca005f6a696236ef1ee44

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