Inspiration

Natural disasters and emergencies often lead to panic and miscommunication, especially among multilingual communities. We were inspired to build a solution that could quickly deliver accurate, accessible, and multilingual information during crises — empowering people with the knowledge they need to stay safe.

What it does

CivicTech Chatbot is an AI-powered disaster response chatbot that:

  • Understands user queries in over 50 languages using Whisper.
  • Summarizes crucial information with LLaMA-3.
  • Responds instantly using ultra-fast processing by GROQ.
  • Provides safety tips, emergency contacts, and real-time updates tailored to the user's location and language.

How we built it

  • Speech-to-text: Used OpenAI’s Whisper API to transcribe multilingual voice inputs.
  • NLP & Summarization: Leveraged LLaMA-3 to understand user intent and generate concise responses.
  • Speed Optimization: Integrated GROQ for ultra-low latency inference.
  • Frontend: Developed a responsive user interface using HTML, CSS, and JavaScript.
  • Backend: Used Python with Flask to handle user requests and orchestrate interactions between the speech, NLP, and inference modules.

Challenges we ran into

  • Integrating Whisper’s multilingual output with LLaMA-3 required extensive prompt engineering to maintain context.
  • Handling real-time processing under hardware constraints while maintaining speed and accuracy.
  • Ensuring the chatbot works offline or in low-connectivity environments — a crucial factor in disaster zones.

Accomplishments that we're proud of

  • Successfully created a fully working multilingual chatbot with live voice-to-text and response generation.
  • Reduced response time significantly using GROQ’s infrastructure.
  • Designed a user-friendly, accessible interface that works across devices.
  • Empowered users to receive lifesaving information in their native language.

What we learned

  • The importance of latency optimization when dealing with emergency systems.
  • How to combine cutting-edge tools (Whisper, LLaMA-3, GROQ) to solve real-world humanitarian challenges.
  • Best practices in handling multilingual voice inputs and aligning them with LLMs.

What's next for CivicTech Chatbot

  • Mobile App Launch: Build native Android/iOS apps for wider accessibility.
  • Offline Mode: Implement on-device models for use without internet.
  • Integration with Gov/NGO APIs: Automate alerts from verified government and relief agencies.
  • Community Feedback Loop: Enable users to flag misinformation and update local resources dynamically.

Built With

Share this project:

Updates