TuniGuid is an AI-powered legal assistant designed to help citizens navigate the complex Tunisian legal and administrative landscape.
# đź§ľ TuniGuid - Tunisian Legal & Administrative Assistant
**TuniGuid** is an AI-powered legal assistant designed to help citizens navigate the complex Tunisian legal and administrative landscape. Whether you're a student, a professional, or someone from a rural area, TuniGuid provides instant, accurate, and up-to-date legal information through a smart chatbot and document reader.
---
## 🔍 Features
- đź“„ **Document Upload & Analysis**
Upload scanned Tunisian legal documents and receive clean, accurate AI interpretations.
- 🤖 **Interactive Legal Chatbot**
Ask direct questions about your uploaded document. The chatbot uses hybrid RAG (semantic + BM25) search for precise answers.
- 📌 **JORT Update System**
Automatically fetches the latest legal updates from 9anoun.tn, ensuring your legal knowledge base is always current.
- đź§ **LLM-Powered Reasoning**
Built with fast, agentic workflows and Groq-based LLM inference for real-time interactions.
---
## 🛠️ Tech Stack
### Languages
- Python
- HTML / CSS / JavaScript
### Frameworks & Libraries
- Flask
- LangGraph
- LangChain
- PaddleOCR
### Cloud & APIs
- Groq Cloud API
- Groq Inference API
- 9anoun.tn (for JORT scraping)
### AI Models
- LLaMA 3.2
- BAAI/BGEm3 (embeddings)
- BM25
- Hybrid RAG (Retrieval-Augmented Generation)
### Databases
- Qdrant (Vector Database)
---
## 🚀 Installation
1. **Clone the repository:**
```bash
git clone
github.com
cd tuniguid