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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 2d541b9b8de8229baa3dba440d8576c6c4d4a1df7eade5611aec76eefc8821e2
MD5 4ea2cf9780197c82d9e88eba93d3f164
BLAKE2b-256 3950a6603e602ac2305fb91cc70dd5da7af49af0e10612e00719b2aab70aa906

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb43305193145eac723a8775e8ebffdcf4e740468cd143de6f08542e09d6418
MD5 995425714a57c972a0da91a780ed4532
BLAKE2b-256 1a44ff6896f240a2c20bb4eebc31d1f07fb4c71526471f811d49564b381a09bc

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