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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.13.tar.gz
Algorithm Hash digest
SHA256 30514b92dd85f2fbf8c796087dcf047ade4410fdec0d4dd5aa7095afe1f392e1
MD5 f3dbe2f2e3ad451c97838c04764372c6
BLAKE2b-256 c197549e182494db7b57681e5c6512f6f00236b342a7d5beb17d5c2237442377

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 626add2df03a55e29cd2abad27a43f627cdfdef0c135660a000763e970496703
MD5 689da241fc66862dfd37f6db0b31b827
BLAKE2b-256 41c640ac2d735bfdd59ec884f21f8b2abb448ee5f63dcd71576375370ef1919f

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