Blynt STT plugin for Pipecat - Real-time speech recognition with Blynt API
Project description
Pipecat Plugin - Blynt STT
Blynt Speech-to-Text plugin for Pipecat, providing real-time speech recognition through Blynt's ASR API.
Features
- Real-time streaming speech recognition
- Support for interim and final transcriptions
- Deployment-scoped, Bearer-authenticated WebSocket connection to the Blynt API
Installation
# Using pip
pip install pipecat-blynt
# Using uv
uv add pipecat-blynt
Usage
The plugin connects to a Blynt deployment, so you must supply a deployment_id
and an API key. Both can be passed directly or via the BLYNT_DEPLOYMENT_ID and
BLYNT_API_KEY environment variables.
from pipecat_blynt import BlyntSTTService, BlyntSTTOptions, STTLanguages
# Create STT service with configuration
stt = BlyntSTTService(
options=BlyntSTTOptions(
deployment_id="680989...", # or set BLYNT_DEPLOYMENT_ID
api_key="sk-..." # or set BLYNT_API_KEY
),
)
# Or, with both read from the environment:
stt = BlyntSTTService(options=BlyntSTTOptions())
# Use in your Pipecat pipeline
# ... add to pipeline as usual
Turns are delimited from the pipeline's VADUserStartedSpeakingFrame / VADUserStartedSpeakingFrame, so a VAD (e.g. Silero) must run upstream in the pipeline.
Note: given the ASR processes audio in between VADUserStartedSpeakingFrame and VADUserStoppedSpeakingFrame, it is recommended to use a VAD with a stop_secs of at least 0.5s to avoid splitting the utterance into multiple Blynt decodes.
Configuration Options
BlyntSTTOptions
deployment_id(optional): Blynt deployment id to run the session against. Falls back to theBLYNT_DEPLOYMENT_IDenvironment variableapi_key(optional): Blynt API key for Bearer auth. Falls back to theBLYNT_API_KEYenvironment variable
Requirements
- Python >= 3.12
- pipecat-ai >= 0.0.96
- websockets >= 14.0
- loguru >= 0.7.0
License
Same as Pipecat (BSD 2-Clause License)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecat_blynt-0.1.0.tar.gz.
File metadata
- Download URL: pipecat_blynt-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b838209ec16fbe150bf32654265be4c92ec752e04817ef6175533c1c564717a
|
|
| MD5 |
045fa61e5cfc7b21658efa4c632eee2d
|
|
| BLAKE2b-256 |
4daa13f98cf8734fa9210918b88ed0667feefa3cfa052672b0866899462b28e9
|
File details
Details for the file pipecat_blynt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pipecat_blynt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa3818f8a899f1140f3e4e9394160d7b736c726244624fdddc6fc4b60c518eac
|
|
| MD5 |
b9fc7945d2458700a2837011fef98fa9
|
|
| BLAKE2b-256 |
4140e22e50512e713af87dd104d3ccf50713812bf627552862fcf7ab3b1e55d5
|