Skip to main content

Agent Framework plugin for Speechmatics

Project description

LiveKit Plugins Speechmatics

Agent Framework plugin for Speechmatics.

Installation

pip install livekit-plugins-speechmatics

Usage:

from livekit.agents import AgentSession
from livekit.plugins.turn_detector.english import EnglishModel
from livekit.plugins import speechmatics

agent = AgentSession(
    stt=speechmatics.STT(),
    turn_detector=EnglishModel(),
    min_endpointing_delay=0.5,
    max_endpointing_delay=5.0,
    ...
)

Note: The plugin was built with LiveKit's end-of-turn detection feature in mind, and it doesn't implement phrase endpointing. AddTranscript and AddPartialTranscript events are emitted as soon as they’re received from the Speechmatics STT engine.

Pre-requisites

You'll need to specify a Speechmatics API Key. It can be set as environment variable SPEECHMATICS_API_KEY or .env.local file.

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_speechmatics-1.0.11.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.0.11-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_speechmatics-1.0.11.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.11.tar.gz
Algorithm Hash digest
SHA256 8a0607d2916a3671e93e11be241ec76a18b5f6f2b3924114c1d67ada96a589b4
MD5 adee3d970d90c2339ce34d806fb5cb90
BLAKE2b-256 bef672b72f661777ad65bc07c8c7811424c056e5ea2a9ba5bcea67d94dd6b18a

See more details on using hashes here.

File details

Details for the file livekit_plugins_speechmatics-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 71f3b05bf5caae8cc86ac5e4724bc666cfa23254c34bdb7e08cb5842fce4bf7b
MD5 542bcff3a3d9c798e9cdf54b10e13c94
BLAKE2b-256 42b7bf8228351cf4ec3b6fb995a18969e6187e232465a3a920c0bfe7c35c257f

See more details on using hashes here.

Supported by

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