Skip to content

bssayla/Lfahem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lfahem: Your AI Legal Assistant for Moroccan Law

cover_image_thinkai

Project description

Welcome to Lfahem, an AI-powered chatbot designed to assist Moroccan citizens with their legal questions. Lfahem provides reliable and accurate information about Moroccan laws, helping you understand your rights and obligations.

GenAI Challenge path

the path of this GenAI Challenge is the legal field in the Moroccan law

Information Sources

Lfahem utilizes the following primary sources for providing legal information:

  • Code Pénal Marocain: The Moroccan Penal Code, which covers criminal law.
  • Code de la Famille Marocain: The Moroccan Family Code, which governs family-related matters such as marriage, divorce, and child custody.

Models Used

  • Meta-Llama-3-8B-Instruct + RAG
  • Google-gemma-7b-it + RAG

Clone the Repository

git clone https://github.com/bssayla/Lfahem.git
cd lfahem

Install Dependencies

pip install -r requirements.txt

Results

Before using RAG

image Before RAG

After using RAG

image After RAG

Jury Question

can I divide the heritage equally between my children a boy and a girl according to the Moroccan law?

Before using RAG

image Before RAG

After using RAG

image After RAG

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published