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:

agent = VoicePipelineAgent(
    stt=speechmatics.STT(),
    turn_detector=turn_detector.EOUModel(),
    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. For the best user experience, we recommend running the agent with end-of-turn detection enabled ( see example).

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

Uploaded Source

Built Distribution

File details

Details for the file livekit_plugins_speechmatics-1.0.0rc5.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc5.tar.gz
Algorithm Hash digest
SHA256 d24b4a10a20d822e7e3443cf041501f3883ac361a2cf6b6647751279bb0c6e7a
MD5 cef52618f186e59943cd38221257c14e
BLAKE2b-256 c5fa0b9c84fc64e2b49f43da0fae4ac308b560b0e8e0c8a3e44f720af9518a99

See more details on using hashes here.

File details

Details for the file livekit_plugins_speechmatics-1.0.0rc5-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 307241f362216732188fc3d00889d513da9a52aee807a09ea17475f3e2676f98
MD5 c5838ddd898690b1e31ecfc0050fa387
BLAKE2b-256 fca35222336dee8230e6985bba19eb771d905b9c9ac9d8821d039ddc48577e38

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