Skip to main content
Community-maintained integration. This service is built and maintained by ConvoZen. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.

Overview

ConvoZen’s Akshara models transcribe nine Indian languages, including code-mixed speech. ConvozenSTTService transcribes one complete utterance per request, so it extends SegmentedSTTService and segments audio with the pipeline’s VAD rather than streaming.

Source Repository

Source code, examples, and issues for the ConvoZen integration

PyPI Package

The pipecat-convozen package on PyPI

API Keys

Create and manage your ConvoZen API keys

Akshara Research

How the Akshara speech recognition models work

Installation

This is a community-maintained package distributed separately from pipecat-ai:

Prerequisites

ConvoZen Account Setup

Before using ConvoZen STT, you need:
  1. ConvoZen Account: Sign up at ConvoZen
  2. API Key: Generate an API key from your account dashboard

Required Environment Variables

  • CONVOZEN_API_KEY: Your ConvoZen API key for authentication

Configuration

str
required
ConvoZen API key for authentication.
aiohttp.ClientSession
required
The bot’s shared aiohttp session, used for every request to ConvoZen. Create one per bot with async with aiohttp.ClientSession() as session: and pass the same session to each HTTP service, so connections are pooled and closed once.
str
default:"akshara-pro"
Akshara model to use. Allowed values: "akshara-pro", "akshara".
str
API base URL. Override to reach a self-hosted deployment.
float
default:"CONVOZEN_TTFS_P99"
P99 latency from speech end to final transcript in seconds. Override for your deployment. See stt-benchmark.
ConvozenSTTService.Settings
default:"None"
Runtime-configurable settings for the STT service. See Settings below.

Settings

Runtime-configurable settings passed via the settings constructor argument using ConvozenSTTService.Settings(...). These can be updated mid-conversation with STTUpdateSettingsFrame. See Service Settings for details.

Usage

Basic Setup

With Language and Keywords

Code-Mixed Speech

See the source repository for a complete runnable example wiring a transport → STT → LLM → TTS.

Notes

  • Supported models: akshara-pro (default) and akshara.
  • Supported languages: Bengali (bn), English (en), Gujarati (gu), Hindi (hi), Kannada (kn), Malayalam (ml), Marathi (mr), Tamil (ta), and Telugu (te). Regional variants such as hi-IN map to their base code. A language outside this set is sent without a hint rather than as one the server would reject.
  • VAD required: Akshara transcribes complete utterances and emits no interim results, so the service extends SegmentedSTTService and needs a VAD analyzer in the pipeline to mark utterance boundaries.
  • Transcription confidence: Akshara returns a score alongside the transcript. It is an unbounded log-probability where values closer to zero are better, not a [0, 1] confidence, and it is available on the TranscriptionFrame result payload rather than as a confidence value.
  • Single speaker: Audio is always submitted as mono. Speaker diarization is not exposed, since it returns a different response shape.

Compatibility

Built and verified against Pipecat v1.12.0. Check the source repository for the latest tested version and changelog.