
๐๏ธ VAANI - Voice-First Civic Engagement Platform
AI-Powered Voice Assistant for Government Services & Civic Complaints
๐ Overview
VAANI is a comprehensive voice-first platform designed to bridge the gap between citizens and government services. It leverages cutting-edge AI technology to provide multilingual voice assistance for filing civic complaints, tracking issues, and accessing government schemes.
๐ฏ Key Highlights
๐ฃ๏ธ Multilingual Support: Seamlessly handles Hindi, English, and Hinglish
๐ค Voice-First Design: Natural voice interactions powered by AWS Transcribe & Polly
๐ค AI-Powered: Intelligent responses using AWS Bedrock Nova Sonic
๐ Real-Time Analytics: Interactive dashboards with live data visualization
๐ Secure Authentication: Firebase-based user management
๐ฑ Fully Responsive: Optimized for mobile, tablet, and desktop
โฟ Accessible: WCAG-compliant design principles
๐ Live Demo
Visit my portfolio: https://vaani-ai-assistant-419de.web.app
โจ Features
๐๏ธ Voice Assistant
Natural Language Processing: Understands context and intent
Multi-turn Conversations: Maintains conversation history
Language Detection: Automatically detects user's preferred language
Voice Commands: Hands-free interaction for accessibility
Real-time Transcription: Instant speech-to-text conversion
Neural Voice Synthesis: Natural-sounding responses
๐ Civic Engagement
Complaint Filing: Easy submission of civic issues
Issue Tracking: Real-time status updates
Category Management: Healthcare, Legal, Education, Welfare
Priority Handling: Urgent issues flagged automatically
Historical Records: Complete activity history
๐ Analytics & Insights
Interactive Charts: Issue distribution and trends
Performance Metrics: Resolution rates and response times
User Activity: Comprehensive activity tracking
Admin Dashboard: System-wide analytics and monitoring
๐ Security & Privacy
Firebase Authentication: Secure user management
Role-Based Access: User and Admin roles
Data Encryption: End-to-end security
Privacy Compliance: GDPR-ready architecture
๐ค Supported Voice Queries
VAANI understands natural voice queries from citizens in English and Hinglish. Below are some example questions the assistant can handle.
๐ General Interaction
Tum kaun ho?
Vaani kya hai?
Tum kya madad kar sakte ho?
Namaste
Mujhe madad chahiye
Mai bahut pareshan hu
Mujhe kuch poochna hai
Aapka naam kya hai?
Dhanyavaad
Alvida
๐๏ธ Civic Issues & Complaints
Complaint kaise kare?
Complaint status kaise check kare?
Sadak tut gayi hai kya kare?
Street light kharab hai kya kare?
Pani nahi aa raha kya kare?
Kachra nahi uth raha kya kare?
Sewer overflow ho raha kya kare?
Bijli nahi aa rahi hai
๐ค Account & System
Account kaise banaye?
๐๏ธ Government Schemes
Sarkari yojna kya hai?
Ujjwala yojna kya hai?
Ayushman card ke liye eligible kaun hai?
How to make Ayushman card?
๐ Quick Start
Prerequisites
Node.js 20+ (Download)
Python 3.11+ (Download)
AWS Account with Bedrock access
Firebase Project (Setup Guide)
1๏ธโฃ Clone Repository
2๏ธโฃ Frontend Setup
๐ Frontend runs on: http://localhost:5173
3๏ธโฃ AI Backend Setup (Node.js)
๐ Backend runs on: http://localhost:5000
4๏ธโฃ Python Backend Setup (Optional)
๐ Python server runs on: http://localhost:8000
5๏ธโฃ FastAPI Backend Setup
โก FastAPI runs on: http://localhost:8080
๐ Project Structure
๐๏ธ Architecture
System Overview
Technology Stack
Layer Technology Purpose Frontend React 18, Vite, Tailwind CSS User interface UI Components Framer Motion, Recharts, Lucide Icons Animations & visualizations Backend Node.js, Express, FastAPI API servers AI/ML AWS Bedrock Nova Sonic Natural language processing Voice AWS Transcribe, Polly Speech-to-text & text-to-speech Authentication Firebase Auth User management Storage AWS S3 Audio file storage Deployment AWS Amplify, Lambda Serverless infrastructure State Management React Context API Global state Routing React Router v7 Client-side routing
๐ Documentation
Core Documentation
๐ Architecture Guide - System design and infrastructure
๐ค Voice Assistant Guide - Voice features and integration
๐งช Voice Assistant Testing - Testing procedures
๐ Project Status - Current development status
โ๏ธ AWS Quota Guide - AWS service limits
Backend Documentation
๐ AI Backend README - Node.js backend setup
๐ Python Backend README - Python backend setup
โก FastAPI Backend README - Authentication backend
Training & Testing
๐ Training Guide - AI model training
โ
Test Summary - Test results
๐ Questions Guide - Supported queries
๐งช Testing
Frontend Testing
Backend Testing
Python Backend Testing
๐ง Configuration
Environment Variables
Frontend (.env)
AI Backend (.env)
FastAPI Backend (.env)
๐ Dataset
Training Data
Active Dataset:
training-dataset.json (61 conversations)Backup Dataset:
training-dataset-backup-213.json (213 conversations)Languages: Hindi, English, Hinglish
Categories: Healthcare, Legal, Education, Welfare, Government Schemes
Dataset Statistics
โ
Training Accuracy: 100%
โ
Language Detection: Working
โ
Intent Classification: Optimized
โ
Response Cache: Active
๐ฏ Current Status
โ
Completed Features
Voice assistant with multilingual support
User authentication and authorization
Admin and user dashboards
Interactive analytics charts
Issue tracking system
Responsive design (mobile, tablet, desktop)
AWS Amplify integration
Firebase authentication
Training data optimization (100% accuracy)
Response caching system
Language detection
Intent classification
๐ง In Progress
Real-time notifications
Advanced analytics
Multi-region deployment
Performance optimization
๐ฎ Planned Features
Mobile app (React Native)
Offline mode
Advanced AI models
Community forums
Video support
๐ Deployment
AWS Amplify Deployment
Manual Deployment
Frontend (Vercel/Netlify)
Backend (AWS Lambda)
๐ค Contributing
We welcome contributions! Please follow these steps:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit changes:
git commit -m 'Add amazing feature'Push to branch:
git push origin feature/amazing-featureOpen a Pull Request
Development Guidelines
Follow existing code style
Write meaningful commit messages
Add tests for new features
Update documentation
Ensure responsive design
๐ Scripts Reference
Frontend Scripts
AI Backend Scripts
๐ Troubleshooting
Common Issues
Issue: Voice assistant not responding
โ
Check AWS credentials in
.envโ
Verify Bedrock access in AWS console
โ
Check browser microphone permissions
Issue: Authentication failing
โ
Verify Firebase configuration
โ
Check
serviceAccountKey.jsonโ
Ensure Firebase project is active
Issue: Charts not displaying
โ
Check console for errors
โ
Verify Recharts installation
โ
Clear browser cache
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ฅ Team
Built with โค๏ธ by the VAANI Team
๐ Acknowledgments
AWS for cloud infrastructure
Firebase for authentication
React community for amazing tools
Open source contributors
๐ Support
For support, email vaani.voice.assist@gmail.com or join our Slack channel.
Made with ๐ by VAANI Team
0 likes ยท 8 views ยท Mar 30, 2026
Developed a voice assistant platform enhancing citizen access to government services.