Proceedings of the International Conference on Advances and Applications in Artificial Intelligence (ICAAAI 2025)

BharatLex: Custom AI Chatbot for Legal Query-Driven Using RAG and Optimized LLM Fusion

Authors
Manoj Kumar Singh1, *, Aakhya Singh1, Suman Choudhary1, Palak Singh1
1Shri Shankaracharya Institute of Professional Management & Technology, Raipur, India
*Corresponding author. Email: msingh@ssipmt.com
Corresponding Author
Manoj Kumar Singh
Available Online 22 June 2025.
DOI
10.2991/978-94-6463-738-0_39How to use a DOI?
Keywords
AI Chatbot; BharatLex; Indian Constitution; legal Queries; LLM (Large Language Model); OLLAMA; OpenAI; RAG (Retrieval Augmented Generation)
Abstract

BharatLex is an AI-driven chatbot designed to enhance access to legal information, offering legal query resolution, court judgment summaries, and document-based information retrieval. Supporting the Indian Constitution, it ensures inclusivity across India’s linguistic diversity. Leveraging advanced Large Language Models (LLMs) with Ollama and machine learning, BharatLex excels in delivering precise, context-aware responses and simplifies complex legal language for diverse users. Integration with legal databases enables real-time access to accurate, up-to-date information, vital for legal professionals and the public alike. Its multilingual interaction capability ensures seamless user experiences across cultures, fostering greater legal literacy and awareness. BharatLex achieved 99.99% accuracy, demonstrating its robust design, effective query resolution, and transformative potential in bridging the gap between India’s legal system and its people. With its ability to simplify legal complexities and empower users, BharatLex represents a significant advancement in AI-powered legal technology and a step forward in democratizing access to justice.

Copyright
© 2025 The Author(s)
Open Access
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

Download article (PDF)

Volume Title
Proceedings of the International Conference on Advances and Applications in Artificial Intelligence (ICAAAI 2025)
Series
Advances in Intelligent Systems Research
Publication Date
22 June 2025
ISBN
978-94-6463-738-0
ISSN
1951-6851
DOI
10.2991/978-94-6463-738-0_39How to use a DOI?
Copyright
© 2025 The Author(s)
Open Access
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

Cite this article

TY  - CONF
AU  - Manoj Kumar Singh
AU  - Aakhya Singh
AU  - Suman Choudhary
AU  - Palak Singh
PY  - 2025
DA  - 2025/06/22
TI  - BharatLex: Custom AI Chatbot for Legal Query-Driven Using RAG and Optimized LLM Fusion
BT  - Proceedings of the International Conference on Advances and Applications in Artificial Intelligence (ICAAAI 2025)
PB  - Atlantis Press
SP  - 486
EP  - 494
SN  - 1951-6851
UR  - https://doi.org/10.2991/978-94-6463-738-0_39
DO  - 10.2991/978-94-6463-738-0_39
ID  - Singh2025
ER  -