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 UserStartedSpeakingFrame / UserStoppedSpeakingFrame, so a VAD (e.g. Silero) or an EOU (End of Utterance detector) must run upstream in the pipeline.

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.0a4.tar.gz (5.3 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.0a4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pipecat_blynt-0.1.0a4.tar.gz.

File metadata

  • Download URL: pipecat_blynt-0.1.0a4.tar.gz
  • Upload date:
  • Size: 5.3 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.0a4.tar.gz
Algorithm Hash digest
SHA256 a3337a159388662d78d265cd54a7ad4366a49e8d2e75a0d68401f215fd211030
MD5 d3e206729918db5df8e46569b3ed5915
BLAKE2b-256 53bd0e8b7f1bc286afd9d92b32155f49f41c9186db957dd771285f81c9791e7a

See more details on using hashes here.

File details

Details for the file pipecat_blynt-0.1.0a4-py3-none-any.whl.

File metadata

  • Download URL: pipecat_blynt-0.1.0a4-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb370dfc6a63dac05d800c994d29d58bb329f2ce97e0f4527d21c839714694f
MD5 2718bf569d591f285b41affa45c778ee
BLAKE2b-256 4bc5b0829a1d01db4feddae1fde31754e07d79f15faffcaac4881235f6b14c23

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