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.

ILIASB1212/RAG-CHAT-WITH-MOROCCO-LOIS-DE-FINANCE-2020-2025

Domain:

natural language processing

Record type:

software
Creator:
ILI
Host:
# Moroccan Public Finance Laws Chatbot (2020-2025) ## Project Overview This is a **Retrieval-Augmented Generation (RAG)** chatbot designed to provide fast and accurate answers to questions about Moroccan public finance laws passed between **2020 and 2025**. It uses a powerful combination of open-source and proprietary tools to process and understand legal documents, allowing users to ask complex questions in natural language. ## Key Features - **Intelligent Q&A**: Get precise answers to your questions based on specific laws and documents. - **Intuitive UI**: An easy-to-use interface built with Streamlit for a seamless user experience. - **Rapid Response**: Leveraging the speed of the Groq API for near-instantaneous answer generation (note: it may take 2 minutes to download the data initially). - **Comprehensive Knowledge Base**: The chatbot is grounded in official public finance documents, ensuring factual and reliable information. ## Technologies Used This project is built using a modern **RAG** stack to create a robust and efficient chatbot. The key tools include: - **Streamlit**: Used for creating the interactive and user-friendly web interface. - **LangChain**: The core framework that orchestrates the entire RAG pipeline, from document loading to model invocation. - **Chroma**: A powerful open-source vector database that stores the embedded document chunks for efficient retrieval. - **OpenAI Embeddings**: Utilized to convert the text documents into high-dimensional numerical vectors, allowing the system to understand the semantic meaning of the text. - **Groq**: A fast and scalable language model (LLM) that powers the final answer generation, ensuring quick and accurate responses. ## Setup and Installation ### Prerequisites Before you begin, ensure you have the following installed: - **Python 3.10** - **Git** ### Step-by-Step Guide 1. **Clone the Repository, Create a Virtual Environment, Install Dependencies, and Set Up API Keys**: - Clone the repo …

Visit

github.com

Tasks

question answering

Similar

danlumumba/Kenya-finance-bill-2025-RAGsaadfath/morocco-ragCyprian-Ogwara/Financial-Bill-2025-RAGM0iem/agentic-rag-tourism-moroccoAamirAyoub123/RAG-LawAssistant-Morocco-V1Mohamed-El/morocco-traffic-law-rag

danlumumba/Kenya-finance-bill-2025-RAG

This is a simple Retrieval-Augmented Generation (RAG) application that allows users to ask natural l

saadfath/morocco-rag

RAG chatbot for Morocco admin procedures (Groq + TF-IDF) # 🇲🇦 Morocco Admin Procedures RAG Chatbot

Cyprian-Ogwara/Financial-Bill-2025-RAG

This project uses Python to turn the Finance Bill 2025 into a searchable Q&A system. It combines OCR

M0iem/agentic-rag-tourism-morocco

# Agentic RAG Tourisme Maroc Projet de fin de module: assistant intelligent de tourisme au Maroc ba

AamirAyoub123/RAG-LawAssistant-Morocco-V1

A lightweight RAG-based AI assistant featuring FLAN-T5 Large fine-tuned on Moroccan legal texts for

Mohamed-El/morocco-traffic-law-rag

--- title: Morocco Traffic Law RAG emoji: 🇲🇦 colorFrom: red colorTo: yellow sdk: streamlit sdk_versi