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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc8.tar.gz
Algorithm Hash digest
SHA256 6ac90e549b6019de683b79d7d8ea14ba69d557fffead2c4f9d63a03b515b1efb
MD5 92289c2936f90d4d33a6413d384d21ef
BLAKE2b-256 f7cb91df7e00b7be0702e8fbc3ea9d670b7fc1bef056529f4ce81d9dc45a3087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 cbe3b3aa34efbfddbc48308222442c49fd82b4905ce885576c3ea02ce3e63ab1
MD5 0be495a1d5e95f03bf3d1ebd88b0f05d
BLAKE2b-256 bcdaa3f501ca4c3ffcefe66aff943db2e31d1dbcdb37a411d121b2f27ba8f22c

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