Skip to main content

Agent Framework plugin for Speechmatics

Project description

Speechmatics STT plugin for LiveKit Agents

Support for Speechmatics STT.

See https://docs.livekit.io/agents/integrations/stt/speechmatics/ for more information.

Installation

pip install livekit-plugins-speechmatics

Usage:

from livekit.agents import AgentSession
from livekit.plugins.turn_detector.english import EnglishModel
from livekit.plugins import speechmatics

agent = AgentSession(
    stt=speechmatics.STT(),
    turn_detector=EnglishModel(),
    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.

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.20.tar.gz
Algorithm Hash digest
SHA256 3f8b6b20bbe27a36d3c40147694f5a92b24c62a6616bcb3af1c698a420d018f5
MD5 a5ae65e3199b86625e48c77cab8227a6
BLAKE2b-256 d569bc6434db9632cee0940f11cbdf9a60a684b624c017ff9f4dbcb2203cfcff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 977e3b59fb5d9c3d59a9429e863b68f052ba4ffafe32da619166770ed5dfcb4c
MD5 1546dc26e50b1a8b1488f9ffecfc6021
BLAKE2b-256 521d8b78cd55ff3f33efdd33db95a6a55a6f396191bdbb82520694fc8bfbb79a

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