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, BlyntSessionContext, Fact, DeclaredValues, 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
session_context=BlyntSessionContext(
facts=[Fact(name="domaine", value="immatriculation")],
hints=[DeclaredValues(values=["plaque", "AA-123-BB"])],
),
),
)
# 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 variablesession_context(optional):BlyntSessionContextwithfacts(Factname/value) andhints(DeclaredValues) sent once onstart_session
Requirements
- Python >= 3.12
- pipecat-ai >= 0.0.96
- websockets >= 14.0
- loguru >= 0.7.0
License
Same as Pipecat (BSD 2-Clause License)
Metadata
Release files for pipecat-blynt 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pipecat_blynt-0.2.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipecat_blynt-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / pipecat_blynt-0.2.0.tar.gz
| Download URL | pipecat_blynt-0.2.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83c3b1fd0e00b065630f81df38d5cba83ce12bda486d9c735e1755a984ae1f1a
|
|
BLAKE2b-256 checksum How to use checksums |
cf8c7e14a2a67d299af63efb66775fcc2bde5172637b57f1c06622f642b6928c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}
|
Release files / pipecat_blynt-0.2.0-py3-none-any.whl
| Download URL | pipecat_blynt-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69ef42d7a65f3c5bebc23342e5583360751bd9c09fe3f7cfce62dbc3c66605ec
|
|
BLAKE2b-256 checksum How to use checksums |
edf42adeae8097a2d9e539299d12cfc206aef8638d42913a0370b2a14fba81bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}
|