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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc9.tar.gz
Algorithm Hash digest
SHA256 1071fea875440b45462f557d31cecbc712c24bd8f87fb14c23eb914906adcd85
MD5 b5fe311daf3c99ffe89f7ae179e91e41
BLAKE2b-256 ed28e3ee3c696e953eccb1406029cd2417efc7c61bbeed16cbbe3655ba5be6c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc9-py3-none-any.whl
Algorithm Hash digest
SHA256 53c7e138880ea90561af19413ac5339e6034677de0bcbba76e0f52588b5d21ca
MD5 f7e034730f0104e33bee9e2a56770f60
BLAKE2b-256 67b7e3e10ebe11c7423d821e7513cf0203304e3d4cfcbca75625499e8961804d

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