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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.16.tar.gz
Algorithm Hash digest
SHA256 3866be2ed5822497f79c5fd7268fc3fb7b0eb62a90c55c62de3cd8730f5fdba5
MD5 6ba294d97db63834ae224ed1d5e3e517
BLAKE2b-256 65a1bd17b2d6a5b210d2984d573b584498ea71d9f3ce2edc0a6296bb34ec6b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 174ee5f14dd9acab052529f5d419f459ebfcc5f0cf0ec2401efcc39dacf1510a
MD5 eee5cf8e4f6bfde16b6117880a4127d6
BLAKE2b-256 904773ea2a34166a9ac5508495e6e87da8528934e65f6d3214f062fdc2b96a31

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