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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.1.3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.3.tar.gz
Algorithm Hash digest
SHA256 ec8803dfce82d8f91de9046c4e3829267cee2c78930388ee0ecfbccd6fff49d1
MD5 f5263948dcb1b990ed2d9497ed7ce46d
BLAKE2b-256 f0cb0605610f81b82518cf0624dde93852070fd13eefd5580c67baead3ed0a11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b38aa2da092997907888c0aafe9738f7b0f255359439683a8afcbbf2ea8fe21d
MD5 586ee0826c3b6ace54b671c0509ff7c4
BLAKE2b-256 41e888d77b4e258b7880bee7b26f1eb036adfd3b023d9dfbc3c84f90da51ceb5

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