Deepgram speech-to-speech voice agent using the s2s verb over WebSocket transport.
Connects the caller to Deepgram's Voice Agent API with Nova-3 STT and GPT-4o-mini for a real-time voice conversation. Demonstrates:
- The
s2sverb withvendor: 'deepgram' - Deepgram's
Settingsconfiguration for listen/think providers - API key authentication
- The
actionHookcallback for session completion
npm installConfigured in the jambonz portal and passed via session.data.env_vars:
| Variable | Default | Description |
|---|---|---|
DEEPGRAM_API_KEY |
— | Deepgram API key (required) |
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Port the WebSocket server listens on |
LOG_LEVEL |
info |
Pino log level (debug, info, warn, error) |
npm startConfigure your jambonz application to use the WebSocket URL ws://your-server:3000/.