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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.19.tar.gz
Algorithm Hash digest
SHA256 fa6e999f48f7400371e2a572ec77e560afbb15c20e693962efe31a7c993df50a
MD5 93fa3d2fed6bfbc28ea36d3f0836b929
BLAKE2b-256 cc15f40f20aacab07ca8ba7469fb3d72a62188fbf26bb1fc376904ab00e84bfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 2d75cde02de45045b58cf2109abe1070d736e7932cfd636657882d80a2b51996
MD5 3cea77de360f212164294ef43388200d
BLAKE2b-256 43f632d89060457c71a9c63889630909771f226a85146898b9b41dd9c4f6d21d

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