Logo Lanfrica

gabrielmahia/hati-ai

Domain:

natural language processing

Record type:

softwaretools
Creator:
gab
Host:
πŸ“„ AI document explainer β€” upload any Kenya government document and get a plain Swahili explanation of what it means and what to do # πŸ“„ Hati AI β€” Kenya Document Explainer in Swahili > *Hati* (Swahili) = document, certificate, official paper Upload any Kenya government document β€” land title, tax notice, court summons, employment contract β€” and get a plain Swahili explanation of what it means, what you need to do, and what your rights are. ## The Problem Kenya's legal, financial, and administrative documents are written in dense English that excludes millions of Kiswahili-dominant citizens from understanding their own rights and obligations. A land dispute, a KRA notice, or an employment contract can change someone's life β€” they deserve to understand what they're signing. ## Research Basis Based on multimodal document-grounded conversational AI methodology (arXiv:2502.09843, MuDoC, Georgia Tech). Extended for low-resource language contexts. ## Features | Feature | Description | |---------|-------------| | πŸ“€ Upload | PDF or image of any Kenya document | | πŸ” Explain | Plain Swahili summary of key points | | βœ… Actions | What you need to do (and by when) | | ⚠️ Rights | Your legal rights in this situation | | ❓ Ask | Follow-up questions about the document | ## Architecture ``` Document (PDF/image) β†’ Gemini Vision API β†’ Structured Swahili explanation ↓ Kenya legal context + domain knowledge ``` ## Quickstart ```bash git clone github.com cd hati-ai pip install -r requirements.txt streamlit run app.py ``` ## Disclaimer Hati AI provides AI-generated explanations for educational purposes only. Not legal advice. For legal matters, consult a qualified advocate. --- *Part of the gabrielmahia.ai East Africa civic tech portfolio*