🛡️ PranaRakshak: A WhatsApp-Based Public Safety Chatbot 🚀 Inspiration The genesis of PranaRakshak stemmed from the critical need for timely and accessible public safety information. Recognizing that many individuals rely heavily on WhatsApp for communication, the idea was to leverage this platform to disseminate real-time emergency alerts and local resources efficiently. The aim was to bridge the information gap during emergencies by providing instant updates directly to users' fingertips.
📚 What I Learned Throughout the development of PranaRakshak, several key learnings emerged:
Natural Language Processing (NLP): Integrating Google's Gemini AI enhanced the chatbot's ability to understand and process user queries effectively.
WhatsApp Business API: Gained hands-on experience in setting up and managing interactions through the WhatsApp Business API, ensuring seamless communication with users.
Real-Time Data Handling: Learned to fetch and process live data to provide up-to-date emergency information.
User-Centric Design: Emphasized the importance of creating intuitive and accessible user experiences, especially during high-stress situations. Gist
🛠️ How I Built It The development process involved several components:
Backend: Developed using Python, with Flask serving as the web framework to handle incoming and outgoing messages.
Integration with WhatsApp: Utilized the WhatsApp Business API to send and receive messages, ensuring reliable communication channels.
AI Integration: Implemented Google's Gemini AI to process natural language queries and provide accurate responses.
Deployment: Hosted the application using Ngrok for secure tunneling during development and testing phases.
Data Management: Structured responses and templates were managed using JSON files, facilitating easy updates and maintenance.
⚠️ Challenges Faced The journey was not without obstacles:
API Limitations: Navigating the constraints and limitations of the WhatsApp Business API required careful planning and optimization.
Real-Time Data Accuracy: Ensuring the reliability and accuracy of real-time emergency information was paramount, necessitating robust data validation mechanisms.
User Privacy: Handling sensitive user data, such as location information, required strict adherence to privacy and security protocols.
Scalability: Designing the system to handle a growing number of users and queries without compromising performance posed scalability challenges.

Log in or sign up for Devpost to join the conversation.