Logo Lanfrica

raeeynega/HHR_chatbot

Domain:

natural language processinghealthcare

Record type:

software
Creator:
rae
Host:
πŸ₯ 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