Overview

DeepgramSTTService provides real-time speech recognition using Deepgram’s WebSocket API with support for interim results, language detection, and voice activity detection (VAD) for accurate conversational AI transcription.

Installation

To use Deepgram services, install the required dependencies:
pip install "pipecat-ai[deepgram]"

Prerequisites

Deepgram Account Setup

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

Required Environment Variables

  • DEEPGRAM_API_KEY: Your Deepgram API key for authentication