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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 d3d2143527b6d391e91fb7ac5eba15b0e701d44d44c959348781a1876685b021
MD5 0240f03b5e634f73599acb0529f4ef7e
BLAKE2b-256 6c8189f3db06aca4d8c84e974be3efdbabb64eaeddd2c28d36b8482db4430709

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 90ae81b9dca0c08408b57fa33aaf61472b1d0c242a4ed274caa6c1502544d75b
MD5 7d46a5d71adce8a367aa1cf26470ba6c
BLAKE2b-256 b4b83236d0ca0bf600dc23b5698fcf27d59d608def4109b15f86b8e8b6672d9f

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