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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b3a595e6c9bc9634d634c9661f06d9bd182cf98f0210a5ff9b6f43328037cc26
MD5 5d8e9c98b35f42ab6601105786d8ec5b
BLAKE2b-256 192083dad4425b364b56299b8854af1cd2107705ab392754ae1f97b290250f52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1385fd9a267c1f9bbf8407733070e39920a58c96e18a8c165eaf0776137c58
MD5 eadc0eccfa32c959c22b12d3f4bd1e68
BLAKE2b-256 b2716ee3426018072bb4cd470550b7c4a2b588138f36bc6e2f868e04e68a22a7

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