Skip to main content

Agent Framework plugin for Speechmatics

Project description

Speechmatics STT plugin for LiveKit Agents

Support for Speechmatics STT.

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

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.23.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.0.23-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.23.tar.gz
Algorithm Hash digest
SHA256 c84e22546b081d73765de27192da180aebd45805abba1f8a10adf91e92ed8b85
MD5 dd94e2c518b06849bc663d0f485d003e
BLAKE2b-256 15df2e8aa31c0140351aa4e57594edaae633c40442293ded6635b0faca698af8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d407eeb3d1d1a22fa8353a4739a5e570d5579a84257d13981a7ef9b38a6e24
MD5 7af4d2347c8b9ed0cb1f15dd92910f4a
BLAKE2b-256 8010f71038cd112d7d58681d47f91061e4dbd592fb3bf50342a0984fcafd5925

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