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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0.dev4.tar.gz
Algorithm Hash digest
SHA256 a4302163fcebf70d90b31dddb7792c4dbb303d2a3119676e1a0988ac0549520c
MD5 f3578e37c759c4faa8cfaf4ae51b6134
BLAKE2b-256 9bdfb6a47dde6a032622269709238bec2a4853e5203240f4ec2428def61da204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 f0a2cfaba3fd1ad09b190b91ae867c10f246a5382ea2a400077269fe43aa687c
MD5 741385a01fcb9b1f9b04c963231ab2f7
BLAKE2b-256 2fda20082ce7bffd13ce55d81a3d04e5ae116589f92ae12e7f0326ce9db16922

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