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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 0b3dd81da2cfaee08c609bf62e016137084ef47c7a76a455920e450af10ab994
MD5 082e9e8cfc188587432d20a0ccb56890
BLAKE2b-256 f9ecd1ce7a57ef44b2a960b6847cb046a387cc36ca9379fa358b23ff1bca18cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 c897565694f02d883225b28e690d5c0f8e6382b774b5322a7853d72eb5dcddbe
MD5 bc23301e6f598559df718662fb0ab824
BLAKE2b-256 840e678225a017d3e61e0a8061c52c1ec2c44d676016d7a730e68dc83a218962

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