Skip to main content

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 the BLYNT_DEPLOYMENT_ID environment variable
  • api_key (optional): Blynt API key for Bearer auth. Falls back to the BLYNT_API_KEY environment 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipecat_blynt-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipecat_blynt-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

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

Hashes for pipecat_blynt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b838209ec16fbe150bf32654265be4c92ec752e04817ef6175533c1c564717a
MD5 045fa61e5cfc7b21658efa4c632eee2d
BLAKE2b-256 4daa13f98cf8734fa9210918b88ed0667feefa3cfa052672b0866899462b28e9

See more details on using hashes here.

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

Hashes for pipecat_blynt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3818f8a899f1140f3e4e9394160d7b736c726244624fdddc6fc4b60c518eac
MD5 b9fc7945d2458700a2837011fef98fa9
BLAKE2b-256 4140e22e50512e713af87dd104d3ccf50713812bf627552862fcf7ab3b1e55d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page