Real-time AI voice chat application using OpenAI's GPT-4, Flask, and WebRTC. Have natural conversations with AI and receive call summaries via email.
- Real-time voice communication with AI
- Call duration tracking and summaries
- Email notifications for call records
- WebRTC for high-quality audio
- Responsive web interface
ai-voice-chat/
├── src/
│ ├── static/
│ │ ├── css/
│ │ └── js/
| | └── assets/
│ ├── templates/
│ ├── app.py
│ └── .env.example
├── requirements.txt
└── README.md
- Python 3.8+
- OpenAI API key
- SMTP server access
# Clone repository
git clone https://github.com/muhammadusman93333/openai_realtime_api.git
cd openai_realtime_apicopy .env.example .env
Example .env file
SMTP_HOST=your-smtp-host
SMTP_PORT=465
SMTP_USERNAME=your-email
SMTP_PASSWORD=your-password
RECEIVING_EMAIL=recipient-email
OPENAI_API_KEY=your-openai-key
python -m venv venv
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run application
python src/app.py
The application will be available at http://127.0.0.1:5000/.
Access: http://localhost:5000 📝 License MIT License - See LICENSE
🤝 Contributing Fork repository Create feature branch Commit changes Push to branch Open pull request 📞 Support Issues: GitHub Issues Email: info@uvisionpk.com Documentation: Wiki 🌟 Keywords ai voice chat, openai gpt-4, flask application, webrtc, real-time communication, python web app, voice assistant
Made with ❤️ by uvisionpk.com ```