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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.17.tar.gz
Algorithm Hash digest
SHA256 fd6b6839dcf1ab8f8d042b1a8c64a8be6fa6025e01d447249966bcee25255b2f
MD5 a4a41beea3e03053f1fd874e959571a1
BLAKE2b-256 571726a4a30dcca152a756afa7ec452a4a0d988ef3bce7dae224307462d8ad8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_speechmatics-1.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 b3958e65eb461424d8f3229f255f7daaf667fabee5d119532fc36236418e12e2
MD5 faf877f18743718efc45422488796b5b
BLAKE2b-256 c2f7b4ceb35fbf5528828a1f1cfa350a61b4544e8e39e63b9507cdb68ec878a4

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