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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.22.tar.gz
Algorithm Hash digest
SHA256 f8ce34e1e848f021c781cc9c36b98525278559b2e0e7f57fe6cb341d9a7311b7
MD5 729ef16e95ad826f005c38a0d13ed883
BLAKE2b-256 1ec46dd6f3c0a8f876decb41cce3add275edeec0911460c882e8ed1198e33b1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 d7965e9b4eabb8e147aac5a5e4c2fbf6d91143682b540aec2abec8cff6f8f080
MD5 7dfbb9287867c5d7549f5e811d15fe46
BLAKE2b-256 56fe892b5d8f29388cea32cd6c948b6173d4743c588ad7ddc01073f99627a93c

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