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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0.dev5.tar.gz
Algorithm Hash digest
SHA256 4eb4af7d0874190f7583cf428029b1e4716ee0052980d0762579eb7653214518
MD5 f276e6472c72afc5ecda9cd04bcb1368
BLAKE2b-256 9ee0338fc88f049e9eac1fafb3640e0e31ebd97c52974edf6cefdb668017d88a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 b0253464e031db592d2ac5d964074f7ed83b44d1f3ca0785e669b2b62288e5e7
MD5 27cbc4f179bb3b71aab1cd06827f2131
BLAKE2b-256 5eafb01c09000d336b771fdd419bd4d12d71cc87c38ff3dc96b08254d11055a7

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