The Science and Information (SAI) Organization
  • Home
  • About Us
  • Journals
  • Conferences
  • Contact Us

Publication Links

  • IJACSA
  • Author Guidelines
  • Publication Policies
  • Digital Archiving Policy
  • Promote your Publication
  • Metadata Harvesting (OAI2)

IJACSA

  • About the Journal
  • Call for Papers
  • Editorial Board
  • Author Guidelines
  • Submit your Paper
  • Current Issue
  • Archives
  • Indexing
  • Fees/ APC
  • Reviewers
  • Apply as a Reviewer

IJARAI

  • About the Journal
  • Archives
  • Indexing & Archiving

Special Issues

  • Home
  • Archives
  • Proposals
  • Guest Editors
  • SUSAI-EE 2025
  • ICONS-BA 2025
  • IoT-BLOCK 2025

Future of Information and Communication Conference (FICC)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Computing Conference

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Intelligent Systems Conference (IntelliSys)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Future Technologies Conference (FTC)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact
  • Home
  • Call for Papers
  • Editorial Board
  • Guidelines
  • Submit
  • Current Issue
  • Archives
  • Indexing
  • Fees
  • Reviewers
  • Subscribe

DOI: 10.14569/IJACSA.2025.0160212
PDF

A Chatbot for the Legal Sector of Mauritius Using the Retrieval-Augmented Generation AI Framework

Author 1: Taariq Noor Mohamed
Author 2: Sameerchand Pudaruth
Author 3: Ivan Coste-Manière

International Journal of Advanced Computer Science and Applications(IJACSA), Volume 16 Issue 2, 2025.

  • Abstract and Keywords
  • How to Cite this Article
  • {} BibTeX Source

Abstract: Mauritius is known to have a hybrid legal system as the logical consequence of being both a former French and English colony. From its independence in 1968 to date, the legal environment has changed to reflect the constant need to provide a framework to address the country’s diverse needs. With over 1200 pieces of legislation available for consultation, including those which are no longer in force, it is very difficult to know all of them. Yet, there is a legal maxim that says, “nemo censetur ignorare legem”. In other words, ignorance of the law is no excuse. This study aims to provide a solution for professionals and non-professionals to have better access to the law through the development of a chatbot. A Retrieval Augmented Generation (RAG) chatbot system has been developed to achieve this objective. A RAG system is one that leverages the use of Large Language Models (LLM) to process a query and generate a response, while ensuring accuracy by performing similarity searches against documents stored in a vector database. A sample of 46 legal documents (acts and regulations) were retrieved from the website of the Supreme Court of Mauritius. They were broken down into chunks and stored as vectors in Chroma, a vector database. The chatbot combines and processes the queries with a text prompt, searches the relevant legal texts, and generates an appropriate response using OpenAI GPT-4o-mini or MistralAI Open-Mixtral-8x22B. Since most legal texts are in English, a translation layer is included for queries in French. Sources for the answers are also displayed for easy cross-validation. This chatbot will undoubtedly be a useful tool for the Mauritian people.

Keywords: Law; chatbot; retrieval augmented generation; large language model; OpenAI; Mistral AI

Taariq Noor Mohamed, Sameerchand Pudaruth and Ivan Coste-Manière, “A Chatbot for the Legal Sector of Mauritius Using the Retrieval-Augmented Generation AI Framework” International Journal of Advanced Computer Science and Applications(IJACSA), 16(2), 2025. http://dx.doi.org/10.14569/IJACSA.2025.0160212

@article{Mohamed2025,
title = {A Chatbot for the Legal Sector of Mauritius Using the Retrieval-Augmented Generation AI Framework},
journal = {International Journal of Advanced Computer Science and Applications},
doi = {10.14569/IJACSA.2025.0160212},
url = {http://dx.doi.org/10.14569/IJACSA.2025.0160212},
year = {2025},
publisher = {The Science and Information Organization},
volume = {16},
number = {2},
author = {Taariq Noor Mohamed and Sameerchand Pudaruth and Ivan Coste-Manière}
}



Copyright Statement: This is an open access article licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, even commercially as long as the original work is properly cited.

IJACSA

Upcoming Conferences

IntelliSys 2025

28-29 August 2025

  • Amsterdam, The Netherlands

Future Technologies Conference 2025

6-7 November 2025

  • Munich, Germany

Healthcare Conference 2026

21-22 May 2026

  • Amsterdam, The Netherlands

Computing Conference 2026

9-10 July 2026

  • London, United Kingdom

IntelliSys 2026

3-4 September 2026

  • Amsterdam, The Netherlands

Computer Vision Conference 2026

15-16 October 2026

  • Berlin, Germany
The Science and Information (SAI) Organization
BACK TO TOP

Computer Science Journal

  • About the Journal
  • Call for Papers
  • Submit Paper
  • Indexing

Our Conferences

  • Computing Conference
  • Intelligent Systems Conference
  • Future Technologies Conference
  • Communication Conference

Help & Support

  • Contact Us
  • About Us
  • Terms and Conditions
  • Privacy Policy

© The Science and Information (SAI) Organization Limited. All rights reserved. Registered in England and Wales. Company Number 8933205. thesai.org