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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc6.tar.gz
Algorithm Hash digest
SHA256 b5c6610499fa38a486b032491a33d88a12d895400dae6557c53a794584c6f4fb
MD5 3b01d064f75499eaaaaf165a4f39fdd9
BLAKE2b-256 f57e06077222f811df48ae496cd19728d5a7c28f6b04b62c3d400a92dd46d23c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.0rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 6827cbfa1e386c0b094835147b0fe8699ec24cde59648855df4d8e7f04f87896
MD5 a5f9174e77b72f5af4079930449995e7
BLAKE2b-256 bce68db5e5f833055c5877543e584328b1f136bd342ed9d8d70b42220e93dfaa

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