Justice Aid – AI-Based Law Guidance Chatbot

Authors

  • Urwa Iqbal Quaid e Awam University of Engineering Science & Technology Nawabshah
  • Shahzaib Quaid e Awam University of Engineering Science & Technology Nawabshah
  • Bisma Malik Quaid e Awam University of Engineering Science & Technology Nawabshah
  • Muhammad Kamran Quaid e Awam University of Engineering Science & Technology Nawabshah
  • Shamshad Lakho Quaid e Awam University of Engineering Science & Technology Nawabshah

Keywords:

Artificial Intelligence (AI), Natural language processing (NLP), Justice Aid, Legal Assistance

Abstract

In the digital era, the availability of quality and affordable legal information has become a significant challenge due to complex legal language and limited access to legal services. To address this issue, this paper presents an AI-based legal guidance chatbot, JusticeAid, designed to simplify the process of obtaining legal knowledge and provide accessible legal services. This study aims to develop an intelligent system that delivers simplified and accessible legal guidance to users. The proposed system is based on Artificial Intelligence (AI) and Natural Language Processing (NLP) models, including GPT-4, which processes user queries and supports context-driven response generation, generates context-driven responses, and interprets legal texts such as statutes, judicial decisions, and case references. JusticeAid employs a three-layer architecture comprising frontend, backend, and database components to ensure smooth and efficient system operation. During functional testing, system validity in terms of performance and accuracy was evaluated, and usability testing was conducted through user feedback and professional examination of AI-generated content. The obtained test results indicate that the chatbot produces contextually relevant legal responses aligned with Pakistan-specific legal references, with consistent processing speed and reliable document analysis, demonstrating the credibility of the system and its practical applicability. By combining AI with modern web technologies, JusticeAid provides an intuitive and user-friendly interface that assists individuals, students, and legal professionals in understanding the legal domain and making informed decisions.

References

R. U. A. Khan, H. S. Sharif, and A. Shahid, “Bridging the Gap: The Transformative Role of Technology in Enhancing Access to Justice in Pakistan,” Qlantic J. Soc. Sci., vol. 5, no. 1, pp. 259–267, Mar. 2024, doi: 10.55737/qjss.501649280.

A.A. Dahiru, “Enhancing Public Access to Justice Through Digital Tools: Empowering Citizens with Technology-Driven Legal Services,” Natl. Work. Inf. Commun. Technol., 2025, [Online]. Available: https://nji.gov.ng/assets/publication/Session-5-Enhancing-Public-Access-to-Justice-Through-Digital-Tools_NJI_by_AADahiru.pdf

Veljko Turanjanin, Darko Dimovski, “Enhancing Access to Free Legal Aid Through Artificial Intelligence,” Teme, 2025, [Online]. Available: https://teme2.junis.ni.ac.rs/index.php/TEME/article/view/2015

U. C. Okeke, “Enhancing Access to Justice Through Technology in Developing Countries: Technology-Based Initiatives, Challenges and Emerging Technologies,” Int. J. Court Adm., vol. 16, no. 3, Feb. 2026, doi: 10.36745/ijca.635.

Gondal, A. Q. ., Ahmad, P. D. M. ., & Hatta, P. D. Z., “Revolutionizing Criminal Justice: The Role of Digitalization and AI in Pakistan’s Legal System,” Al Khadim Res. J. Islam. Cult. Civiliz., vol. 6, no. 1, pp. 25–35, 2025, [Online]. Available: https://arjicc.com/index.php/arjicc/article/view/364

Danish, Dr. Imran Ali Khan, and Dr. Aamir Ullah, “The Role of Artificial Intelligence in Enhancing Social Governance: A Framework for Ethical Implementation and Policy Development in Pakistan,” J. Manag. Soc. Sci., vol. 1, no. 4, pp. 274–289, Dec. 2024, doi: 10.63075/9fzpbn74.

Vasiliy A. Laptev, Daria R. Feyzrakhmanova, “Application of Artificial Intelligence in Justice: Current Trends and Future Prospects,” Human-Centric Intell. Syst., vol. 4, pp. 394–405, 2024, [Online]. Available: https://link.springer.com/article/10.1007/s44230-024-00074-2

Yuriy Norchuk, “The use of artificial intelligence and other technologies to improve legal communication and access to justice for different populations around the world,” J. Int. Leg. Commun., vol. 1, no. 3, 2025, [Online]. Available: https://journals.indexcopernicus.com/search/article?articleId=4478595

R. K. Rajendran, V. Ashok Immanuel, T. Mohana Priya, S. Vetrivel, and N. R. Wilfred Blessing, “The role of AI in enhancing access to justice and legal services,” Explor. AI Contemp. Leg. Syst., pp. 139–162, Dec. 2024, doi: 10.4018/979-8-3693-7205-0.ch008.

M. N. O. Sadiku, S. A. Ajayi, and J. O. Sadiku, “Artificial Intelligence in Legal Practice: Opportunities, Challenges, and Future Directions,” J. Eng. Res. Reports, vol. 27, no. 4, pp. 68–80, Mar. 2025, doi: 10.9734/jerr/2025/v27i41456.

A. Raghav, L. R. Janjua, S. Lal, M. K. Arora, and H. Hammouch, “Artificial Intelligence for Strengthening the Rule of Law and Justice Delivery System,” https://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/979-8-3693-9395-6.ch003, pp. 47–66, Jan. 1AD, doi: 10.4018/979-8-3693-9395-6.ch003.

K. L. S. Surya, E. M. K, K. S, C. T. P, and Afifa Salsabil Fathima, “AI-Powered Interactive Legal Chatbot for the Department of Justice,” Int. J. Comput. Learn. Intell., vol. 4, no. 4, 2025, [Online]. Available: https://milestoneresearch.in/JOURNALS/index.php/IJCLI/article/view/234

Francesco Borgesano; Annarita De Maio , Pasquale Laghi; Roberto Musmanno, “Artificial intelligence and justice: a systematic literature review and future research perspectives on Justice 5.0,” Eur. J. Innov. Manag., vol. 28, no. 11, 2025, [Online]. Available: https://www.emerald.com/ejim/article/28/11/349/1302111/Artificial-intelligence-and-justice-a-systematic

M. ter Voert, A. Pivaty, and E. Marique, “Access to justice in the digital era,” R. der Werkelijkh., vol. 43, no. 2, pp. 3–12, Nov. 2022, doi: 10.5553/rdw/138064242022043002001.

RAJESH GHOSHAL, “Artificial Intelligence and the Future of Law: Balancing Innovation with Ethical Governance,” Int. J. LAW Manag. Humanit., vol. 8, no. 2, pp. 870–889, 2025, [Online]. Available: https://ijlmh.com/wp-content/uploads/Artificial-Intelligence-and-the-Future-of-Law.pdf

Downloads

Published

2025-12-12

How to Cite

Urwa Iqbal, Shahzaib, Bisma Malik, Muhammad Kamran, & Shamshad Lakho. (2025). Justice Aid – AI-Based Law Guidance Chatbot. International Journal of Innovations in Science & Technology, 7(10), 163–175. Retrieved from https://journal.50sea.com/index.php/IJIST/article/view/1714

Most read articles by the same author(s)