Skip to main content
Deepgram is a text-to-speech plugin. It synthesizes the LLM’s reply into the agent’s voice over a streaming WebSocket using Deepgram’s Aura voices. It occupies the pipeline’s tts slot.
Deepgram is also available as a speech-to-text plugin.

Setup

Set your Deepgram API key in the worker environment. Generate a key from the Deepgram console:

Usage

Import the plugin and pass it to the pipeline’s tts slot.

Parameters

Constructor parameters for the Python SDK (DeepgramTTS).

Import paths

The synthesized audio is streamed back to the caller as the final stage of the pipeline.