Skip to main content

Agent Framework plugin for Speechmatics

Project description

LiveKit Plugins Speechmatics

Agent Framework plugin for Speechmatics.

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.18.tar.gz
Algorithm Hash digest
SHA256 e4d21657e743eca036585e310f909dcf4f042a901bd8d3caf1bdc8c4b86c97ba
MD5 dd4f4c2bfd5de21e24bc03890905c4b8
BLAKE2b-256 8dae4e53d34662da4cf7691cd9dce058bf25a31fb706b829c6c79fe2e6678276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b4f56a9a84e4c87dd2cfa1212a0b93e2e2dbbded0d03564563fdb841b81695
MD5 82c0c251ac351e2ad00c322eeaf2f946
BLAKE2b-256 f8c70b142cdde8faf074da8a6bc16365eb7e22419159515f3eebb55b525a7794

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