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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.0.12-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.12.tar.gz
Algorithm Hash digest
SHA256 52a82dec28ed4c6b5bdb1e53f8828270256a90d93b46a05926d21ddd251f3807
MD5 f6d4e4898c23a656f4b328ab0df6eb1b
BLAKE2b-256 a5e2cd78fba5e5176b4cd3e722a28dbb29a33e9e1e7696a1865546849a5fcbbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 af03f1818aa5757ca031fc4c47e10d8df8ece5aeef612e526b8c8304bc24eb47
MD5 ac71f64dba13031f4cc33ff9492f1b91
BLAKE2b-256 63d3deb6fbbf37bf0451e934f06b45a5108e7e210e62e69e8bc8a20d8a9fef42

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