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:

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

Uploaded Source

Built Distribution

livekit_plugins_speechmatics-1.0.15-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.15.tar.gz
Algorithm Hash digest
SHA256 07b117dd7bddfba0e8483c99c6fbaafe6902edb2de9f916eba0a1396accaa12d
MD5 ef4f75203c0a819e18f17058963a77e8
BLAKE2b-256 6f68fa05e3e2e96d1bfc368479e0b56004a9822b497bca00d4bdecb3d620d685

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd720adfc2d1ddaa45bef5918974a337d3ce6abe1bd689896db877829830167
MD5 9532560ec6a5bcb8b7c03b8d4d3d04b5
BLAKE2b-256 acee9ca25ed7660a9ab76e1a32b57c28935710073f4143d5058ee88f725989ac

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