Add DeepgramSageMakerTTSService for Deepgram TTS on AWS SageMaker

Adds a TTS service that connects to Deepgram models deployed on AWS
SageMaker endpoints via HTTP/2 bidirectional streaming. Supports the
Deepgram TTS protocol (Speak, Flush, Clear, Close) over the BiDi
client, with interruption handling and per-turn TTFB metrics.

Updates the example and env.example with separate STT/TTS endpoint names.
This commit is contained in:
Mark Backman
2026-02-20 08:08:00 -07:00
parent 2963c7589d
commit 273692421f
3 changed files with 333 additions and 6 deletions

View File

@@ -47,7 +47,8 @@ DAILY_ROOM_URL=https://...
# Deepgram
DEEPGRAM_API_KEY=...
SAGEMAKER_ENDPOINT_NAME=...
SAGEMAKER_STT_ENDPOINT_NAME=...
SAGEMAKER_TTS_ENDPOINT_NAME=...
# DeepSeek
DEEPSEEK_API_KEY=...