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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.2.tar.gz
Algorithm Hash digest
SHA256 d643770dcedd455563f14d47b39044833ef8bfdd6cb14e958f90c542f9ee0e06
MD5 5bf813d8a0642df7c63f147d28a4b080
BLAKE2b-256 e7938419ab69d7a630fb209b445dee10eef46303908a27edfd277c9f04afaf50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33302cde4346187f8456d7cdef2c5d19becdd98459c8d99570b585e525709f24
MD5 fd2ccd29d944ba3837e18f81101111fb
BLAKE2b-256 e9550986a56c5bae4bd95002965584f90a362fdfed7624dd258206c825d12797

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