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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-0.0.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3091fb8960b7846d3648505153ed39c168ee84698c1b489301c36589773e0a69
MD5 ee2dd57e8b2b21b87a7e6b47c260efe1
BLAKE2b-256 5ee21e72048f7880af921244f801d7775d9bf313ccd529476838c0fda54a462e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e50f1ec4394fb08ce135cf0da59c706ecab1db4e967521614212b76e24ad4de
MD5 9d0fd4809feea3865d746cf7077c135d
BLAKE2b-256 7cc2ad7e0a0447fc6b1caec702507b468caff5310871cbe5f0a8057e67bc6c5e

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