Intelligent automated phone calling system for medical appointment reminders and scheduling. Powered by natural language AI with rule-based efficiency.
A modular, event-driven architecture designed for reliability and scalability
Powered by industry-leading cloud services and AI providers
Initiates outbound calls with Amazon Polly Neural voices for natural-sounding TTS
TWILIO_PHONE_NUMBER: +1931345****
Context-aware conversational AI that understands patient info and appointments
MODEL: gemini-2.0-flash-live-001
Fast, cost-effective backup when Gemini fails or hits rate limits
MODEL: mistral-small-latest
Third fallback option if both Gemini and Mistral fail
MODEL: gpt-4o-mini
Stores all persistent data including patients, appointments, and call logs
Rule-based efficiency meets AI intelligence
Handles clear, predictable responses instantly without AI latency
For complex or unclear responses requiring contextual understanding
End-to-end journey of an automated appointment reminder call
POST request initiates call
POST /api/v1/calls/start
{ "to_phone": "+91...", "context": "appointment reminder" }
Outbound call placed to patient
Webhook triggered: POST /api/v1/webhooks/voice
AI speaks greeting with patient details
Speech captured and processed
Rule engine or AI determines action, updates database
RESTful API for managing calls and handling webhooks
/api/v1/health
Health check endpoint
/api/v1/calls/start
Initiate outbound call
/api/v1/calls/history
Get call history
/api/v1/webhooks/voice
Twilio voice webhook
/api/v1/audio/{filename}
Serve generated audio files
Production-ready features for automated voice calling
Get up and running in minutes
pip install -r requirements.txt
python scripts/seed_schedule_data.py
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
Transparent pricing from all service providers