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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.21.tar.gz
Algorithm Hash digest
SHA256 7566a43a021f45cd34886a2988eeab93f48ce12d712ee589e20953a6fd0cbe94
MD5 5dc1b5c67965625cf6bcd1cdd6020e42
BLAKE2b-256 7866804d4cc148c600774aed2ecb8ecae8d5cd3da125ea960b41809102d956d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8c5faa8bbc11a5bf754a0b2eb1e1778c1a25bdb44df9d57b8cb491a806c7d2d9
MD5 eb87d49e1b7296ad183456c2422a9e0b
BLAKE2b-256 6bd2ce3b7581b001d09622bb49507fb8fde8a065d653c4e555fcaf9be5635360

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