đ„ HHR Multilingual Health Chatbot - Afaan Oromo + Amharic + English. FAISS RAG for HHR data + DuckDuckGo fallback. 100% free, no API keys, CPU-only, self-hosted. Built for Hararghe Health Research, Ethiopia.
# đ„ HHR Multilingual Health Chatbot
**Hararghe Health Research - Afaan Oromo + Amharic + English**
A production-ready, **100% free** multilingual chatbot for Hararghe Health Research (HHR) that answers questions in **English, Afaan Oromo, and Amharic** - using HHR's own data for local questions and DuckDuckGo for live web search.
---
## âš Features
â
**Truly Multilingual** - Ask in Afaan Oromo, get reply in Afaan Oromo!
â
**HHR Knowledge Base** - Scraped HHR website + FAISS vector search
â
**Live Web Search** - DuckDuckGo fallback (FREE, no API key)
â
**Instant FAQs** - Pre-loaded question buttons
â
**No API Costs** - All tools open-source or free tier
â
**CPU Only** - Runs on 8GB RAM, no GPU needed
â
**Data Sovereignty** - Self-hosted, no cloud dependency
---
## đ ïž Tech Stack
| Component | Technology |
|----------|------------|
| **Backend** | FastAPI + Uvicorn |
| **Embeddings** | intfloat/multilingual-e5-small |
| **Vector DB** | FAISS (Facebook AI Similarity Search) |
| **Translation** | Helsinki-NLP OPUS-MT (OromoâEnglish, AmharicâEnglish) |
| **Language Detection** | LangDetect + Oromo keyword fallback |
| **Web Search** | DuckDuckGo Instant Answer API (FREE) |
| **Frontend** | HTML/CSS/JavaScript (no frameworks) |
---
## đ Project Structure
hhr-chatbot/
âââ app.py # Main FastAPI application
âââ translator.py # Oromo/Amharic translation
âââ duckduckgo_search.py # FREE web search fallback
âââ faq_data.py # Pre-loaded FAQ database
âââ requirements.txt # Python dependencies
âââ .gitignore # Files to exclude from git
âââ README.md # This file
â
âââ scripts/
â âââ scrape_champs.py # Website scraper
â âââ clean_data.py # Data cleaning
â âââ build_index.py # FAISS index builder
â
âââ models/ # FAISS index (gitignored)
âââ data/ # Scraped data (gitignored)
âââ venv/ # Virtual environment (gitignored)
âââ chat.html # Web interface