Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

ahmedghida/Egyptian-Tax-Navigator

Domain:

natural language processing

Record type:

software
Creator:
ahm
Host:
Egyptian Tax Navigator is an AI-powered RAG system that answers user questions based on Egypt’s Income Tax Law (2005) and VAT Law (2016), using LangChain and LLMs to make tax regulations more accessible and searchable. # 🧾 Egyptian-Tax-Navigator – المساعد الضريبي الذكي لمصر **Egyptian-Tax-Navigator** is an intelligent Arabic Q\&A assistant designed to answer questions related to **Egyptian tax law** using official legal documents only. It uses OCR to extract text from scanned PDFs, embeds the content into a **Chroma vector store**, and allows users to ask natural language questions in Arabic via a simple Streamlit web interface. Built using **LangChain**, **Gemini 2.5**, **ChromaDB**, and **HuggingFace multilingual embeddings**. --- ## 📁 Project Structure ``` Egyptian-Tax-Navigator/ ├── app.py # Streamlit interface ├── qa_chain.py # Retrieval-Augmented Generation pipeline ├── create_pdf_vector_db.py # OCR + ChromaDB vectorization ├── assets/ # Place tax law PDFs here ├── data/chroma_db/ # Vector DB (auto-generated) ├── .env # API key and configuration └── requirements.txt # All dependencies ``` --- ## ⚙️ Setup Instructions ### 1. Clone the Repository ```bash git clone github.com cd Egyptian-Tax-Navigator ``` ### 2. Create a Virtual Environment ```bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` ### 3. Install Dependencies ```bash pip install -r requirements.txt ``` --- ## 🔐 Configure Environment Variables Create a `.env` file in the root directory and add the following: ```env GOOGLE_API_KEY="your_google_gemini_api_key" HUGGINGFACEHUB_API_TOKEN="your_huggingface_api_token" ``` These keys are used for: * 🔑 `GOOGLE_API_KEY`: Accessing **Gemini 2.5** via `langchain-google-genai` * 🔑 `HUGGINGFACEHUB_API_TOKEN`: Loading **multilingual-e5-base** embeddings via `langchain-huggingface` If you don’t already have these: * Get your Gemini API key * Get your Hugging Face token --- ## 📚 Step 1: Add Tax PDFs Place all your Egyptian tax-related PDFs (even scanned/image-based ones) in the `assets …

Visit

github.com

Tasks

question answering

Licenses

MIT

Similar

Amireducation/ethiopian-navigatorAhmzyjazzy/ilorin-navigatorelunguelectrosh1/unam-navigatorbezawit525/ethiopia-navigator-mainBelleCash/nigeria-school-navigatorcrispin046/CRISP-Career-Navigator

Amireducation/ethiopian-navigator

SaaS AI-powered platform for Ethiopian government services # Ethiopian Navigator A SaaS AI-powered

Ahmzyjazzy/ilorin-navigator

Ilorin Navigator is a Next.js web application that provides intelligent, AI-assisted navigation and

elunguelectrosh1/unam-navigator

AI Campus Assistant for University of Namibia

bezawit525/ethiopia-navigator-main

A modern, bilingual navigation web app for Ethiopia powered by Gebeta Maps API. Search places, get t

BelleCash/nigeria-school-navigator

A mobile-first web application designed to navigate Nigeria’s educational landscape across 774 LGAs.

crispin046/CRISP-Career-Navigator

CRISP helps African learners discover their strengths, navigate CBC pathways, and find the perfect S