Overview

AssemblyAISTTService provides real-time speech recognition using AssemblyAI’s WebSocket API with support for interim results, end-of-turn detection, and configurable audio processing parameters for accurate transcription in conversational AI applications.

Installation

To use AssemblyAI services, install the required dependency:
pip install "pipecat-ai[assemblyai]"

Prerequisites

AssemblyAI Account Setup

Before using AssemblyAI STT services, you need:
  1. AssemblyAI Account: Sign up at AssemblyAI Console
  2. API Key: Generate an API key from your dashboard
  3. Model Selection: Choose from available transcription models and features

Required Environment Variables

  • ASSEMBLYAI_API_KEY: Your AssemblyAI API key for authentication