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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.1.tar.gz
Algorithm Hash digest
SHA256 183d79e6cd067dc06e0bd97fa7f668702626f0ff365c1868efbea8e645d865d4
MD5 892571cf83052c4dd817c5767d601581
BLAKE2b-256 fdfc176ef4edff84b78ecf00393cbb601d9c2fb87e311a087a42f2c345fd6618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25bed02750aef987d1b2ca61415d60d97ea5083fcc431b5b15299b7afdd49a98
MD5 84597001c381b5b261d744bfddc8deb5
BLAKE2b-256 3aa5b5f6354aaf68a77565869b72c647274c9a5d61d2f07e6d6073b3421f979b

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