Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

s2s/deepgram

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 s2s verb with vendor: 'deepgram'
  • Deepgram's Settings configuration for listen/think providers
  • API key authentication
  • The actionHook callback for session completion

Setup

npm install

Application Variables

Configured in the jambonz portal and passed via session.data.env_vars:

Variable Default Description
DEEPGRAM_API_KEY Deepgram API key (required)

Environment Variables

Variable Default Description
PORT 3000 Port the WebSocket server listens on
LOG_LEVEL info Pino log level (debug, info, warn, error)

Running

npm start

Configure your jambonz application to use the WebSocket URL ws://your-server:3000/.