All projects
MIATHON'03 hackathon (MIA, UMP Oujda) · team of 6
Qanoun'IA
An AI legal assistant to make Moroccan medical law accessible — solution design and a RAG chatbot prototype.
What I did
-
Solution design: a legal chatbot on a RAG engine, a corpus of Moroccan medical laws updated automatically, and connection with lawyers.
-
Prototype: a RAG chatbot (LangChain) over Law 65.00 (basic medical coverage) and Law 131.13 (practice of medicine) that answers medical-law questions from the law articles.
-
Arabic legal texts: direct PDF extraction produced badly encoded text, so we added an OCR layer (Tesseract, Arabic) and split each law into a structured tree (book, chapter, article) in JSON, containerised with Docker.