- Go to Deepgram Console
- Sign up for a free account (includes $200 in free credits)
- Navigate to "API Keys" in the dashboard
- Create a new API key and copy it
Create a .env file in your project root:
# .env file
DEEPGRAM_API_KEY=your_deepgram_api_key_herepip install -r requirements.txtpython assistant.py- Nova-3 Model: Latest Deepgram speech-to-text model
- Real-time Transcription: Live audio streaming
- High Accuracy: Optimized for conversational AI
- Smart Formatting: Automatic punctuation and capitalization
The current setup uses:
- Model:
nova-2(you can change tonova-3when available) - Language: English (US)
- Sample Rate: 16kHz
- Channels: Mono
- Format: Linear16
- Clear Speech: Speak clearly and at normal pace
- Quiet Environment: Minimize background noise
- Microphone: Use a good quality microphone for best results
- Commands: Say commands like "Question", "When am I free today?", etc.
- API Key Issues: Make sure your
.envfile is in the project root - Audio Issues: Check microphone permissions
- Connection Issues: Verify internet connection and API key validity