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 ```