• e - ISSN No : 2832-4277
IJRTTE Logo

INTERNATIONAL JOURNAL OF RECENT TRENDS IN TECHNOLOGY AND ENGINEERING (IJRTTE)

LegalEase: An AI-Powered Conversational Assistant for Simplified Legal Information Access

Dipanwita D, Devuni Sathish, Mahesh Kumar A, Mohd Ghouse
Department of CSE (Artificial Intelligence & Machine Learning), B. V. Raju Institute of Technology, India.

Keywords: Legal Information Retrieval, Retrieval-Augmented Generation (RAG), Large Language Models (LLMs), Semantic Search, Explainable AI, Legal Conversational Systems, FAISS Vector Indexing.

Abstract

Access to legal information in India is still a challenge to the average citizen. The factors contributing to this include the use of difficult legal jargon, the large length of the official legal texts, and the lack of cheap legal advice. The currently available legal chatbots and digital tools mostly depend on large language models only, which results in hallucinations, lack of explainability, and unreliable legal interpretations. LegalEase presented this project is a response to these constraints. It is an AI, powered conversational assistant based on a Retrieval, Augmented Generation (RAG) framework that provides legal guidance that is grounded, transparent, and in simple terms. The system takes statutory documents like the Indian Penal Code (IPC) and the Constitution of India and prepares them for use by extracting structured text, chunking, and semantic embedding using Sentence Transformer models. A FAISS, based vector retrieval method finds the most relevant legal clauses that are then combined with user queries to generate context, aware responses using a constrained language model. The experiments were run with labeled legal queries to assess the performance of the retrieval part separately from the generation part. The system showed high accuracy, precision, recall, and F1, score in retrieval, thus it was able to reliably identify relevant legal provisions and did so with very few unsupported responses. The major point of this work is the provision of a legal assistance framework that is explainable, retrieval, grounded, and thus contributes to raising legal awareness, lowering the risk of misinformation, and democratizing access to reliable legal knowledge for non, expert users.
Download Certificate
Details

References

  1. L. Taranenko and N. Chudyk-Bilousova, “The Role of Legal Service for Contractual Work Organization in Social and Medical Spheres,” University Scientific Notes, 2021. doi: 10.37491/unz.80.9.
  2. B. Alarie, A. Niblett, and A. H. Yoon, “How Artificial Intelligence Will Affect the Practice of Law,” 2018. doi: 10.3138/utlj.2017-0052.
  3. S. B. Shedthi, V. Shetty, R. Chadaga, R. Bhat, B. Preethi, and P. K. Kini, “Implementation of Chatbot That Predicts an Illness Dynamically Using Machine Learning Techniques,” International Journal of Engineering, Transactions B: Applications, vol. 37, no. 2, pp. 312–322, Feb. 2024. doi: 10.5829/IJE.2024.37.02B.08.
  4. F. Firdaus, R. A. Rajagede, A. Sari, S. Hanifah, and D. A. Perwitasari, “Digital Assistant for Pharmacists Using Indonesian Language Based on Rules and Artificial Intelligence,” International Journal of Engineering, vol. 37, no. 9, pp. 1746–1754, 2024. doi: 10.5829/IJE.2024.37.09c.04.
  5. S. Perez-Soler, S. Juarez-Puerta, E. Guerra, and J. De Lara, “Choosing a Chatbot Development Tool,” IEEE Software, vol. 38, no. 4, pp. 94–103, 2021. doi: 10.1109/MS.2020.3030198.
  6. R. P. Karchi, S. M. Hatture, T. S. Tushar, and B. N. Prathibha, “AI-Enabled Sustainable Development: An Intelligent Interactive Quotes Chatbot System Utilizing IoT and ML,” vol. 1939 CCIS, 2023. doi: 10.1007/978-3-031-47055-4_17.
  7. A. Savanur, M. Niranjanamurthy, M. P. Amulya, and P. Dayananda, “Application of Chatbot for Consumer Perspective Using Artificial Intelligence,” in Proceedings of the 6th International Conference on Communication and Electronics Systems (ICCES 2021), 2021. doi: 10.1109/ICCES51350.2021.9488990.
  8. S. Meshram, N. Naik, M. Vr, T. More, and S. Kharche, “Conversational AI: Chatbots,” in 2021 International Conference on Intelligent Technologies (CONIT 2021), 2021. doi: 10.1109/CONIT51480.2021.9498508.
  9. W. Sanjaya, Calvin, R. Muhammad, Meiliana, and M. Fajar, “Systematic Literature Review on Implementation of Chatbots for Commerce Use,” in Procedia Computer Science, 2023, pp. 432–438. doi: 10.1016/j.procs.2023.10.543.
  10. T. Jindal, L. N. U. Ishika, P. Sharma, and G. Kaur, “Chatbots Benefications Towards the Education Sector,” 2023. doi: 10.4018/978-1-6684-8671-9.ch006.
  11. M. W. Ashfaque, S. Tharewal, T. Malche, S. I. Malikb, and C. N. Kayte, “Analysis of Different Trends in Chatbot Designing and Development: A Review,” in ECS Transactions, 2022, pp. 7215–7227. doi: 10.1149/10701.7215ecst.
  12. R. Negi and R. Katarya, “Emerging Trends in Chatbot Development: A Recent Survey of Design, Development and Deployment,” in 2023 14th International Conference on Computing, Communication and Networking Technologies (ICCCNT 2023), 2023. doi: 10.1109/ICCCNT56998.2023.10307280.
  13. T. B. Brown et al., “Language Models Are Few-Shot Learners,” in Advances in Neural Information Processing Systems, 2020.
  14. K. Shuster, S. Poff, M. Chen, D. Kiela, and J. Weston, “Retrieval Augmentation Reduces Hallucination in Conversation,” Apr. 2021. [Online]. Available: http://arxiv.org/abs/2104.07567
  15. N. Kandpal, H. Deng, A. Roberts, E. Wallace, and C. Raffel, “Large Language Models Struggle to Learn Long-Tail Knowledge,” in Proceedings of Machine Learning Research, 2023.