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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-0.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_speechmatics-0.0.2.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-0.0.2.tar.gz
Algorithm Hash digest
SHA256 31f06c4a70aac0300df636fe5a2f40387b211e39abcca8e91117acd6dc0e94d3
MD5 2e546f1f76dd06905fd7c4fc28aef8bb
BLAKE2b-256 3e91c69d7475f948bedea10f00654bccfcffd6ef79e42db8f70fe7fe3568cca3

See more details on using hashes here.

File details

Details for the file livekit_plugins_speechmatics-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9de4699395ca63174f4b8c2872df26c7f5408f3030521de0c0e19e4436d5766
MD5 cf137b2e0ef8fcd6afdfa5cce8c6e668
BLAKE2b-256 693261c831f1a8dd17d3478e48b15d4e6e9a7a5e4940e95148705cb188f58a53

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