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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.14.tar.gz
Algorithm Hash digest
SHA256 78d48854725575526236da269478711949be69e48bd43b857793c63b2ebfd3f0
MD5 8b4448067a2b79a48f4e33aa8e704962
BLAKE2b-256 1a4a18cfb415ef8c488d8f16c06e5173cbdeec7d0cd997e41e4b0094e448345f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 73ea667d1eec474f4dbc6b0ce489a130e62aad88f7d54a87c765e220ffe1375e
MD5 fc728fcf93883fb1cf221d943fcf9e21
BLAKE2b-256 2bf8306db09f1ed78bb334090008b49ee67139c2c53903d3faf435694ad4bcff

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