MY Attorney: An AI- Based Legal Assistance for Indian Citizens

Author

Omesh Wadhwani, Ritika Kawale, Tiya Ghosh, Aachal Katore, Shruti Sawarkar, Sweety Mohadikar


Abstract

 Legal information is often challenging for normal people to understand because legal documents or files contain complex terminology, lengthy clauses, and recommendations to different laws and regulations. Traditional legal consultation may also be time consuming and costly and may require professional assistance. To address these challenges, this paper presents MY ATTORNEY, an AI-based legal assistance and document analysis system designed to provide accessible legal information and assist users in legal documents. The proposed system uses Artificial Intelligence (AI), Natural Language Processing (NLP), Large Language Models (LLMs), and Retrieval Augmented Generation (RAG) to process user queries and retrieve relevant information from a legal knowledge base. Unlike systems that depend only on knowledge stored inside a language model, the RAG approach retrieves relevant legal information from external sources before generating a response.  This approach improves contextual relevance and minimizes the possibility of generating unsupported or inaccurate information. The system also provides documents analysis functionality that enables users to upload legal documents and obtain simplified explanations to important content. MY ATTORNEY is designed as an AI-powered legal assistance system rather than a replacement for a qualified lawyer. The proposed system aims to facilitate access to relevant legal information, reduce the time required for basic legal research, and improve understanding of legal documents. It provides a user-friendly interface that enables individuals to interact with the AI assistant and receive responses in a simple and understandable form. The project demonstrates how modern AI and information retrieval techniques can be combined to develop practical tools for improving legal accessibility.



Keywords

Artificial intelligence, Legal AI, Retrieval-Augmented Generation, Natural Language Processing, Large Language Model, Legal Document Analysis, Legal Question Answering, Information Retrieval, AI Legal Assistant, RAG.



Full Text:

Download Paper PDF


References


Research Papers:

  1. REFERENCE M. Siino, M. Falco, D. Croce and P. Rosso, "Exploring LLMs Applications in Law: A Literature Review on Current Legal NLP Approaches," in IEEE Access, vol. 13, pp. 18253-18276, 2025, doi: 10.1109/ACCESS.2025.3533217.
  2. H. Sun, "Research and application of artificial intelligence in law," 2021 2nd International Conference on Information Science and Education (ICISE-IE), Chongqing, China, 2021, pp. 14331436, doi: 10.1109/ICISE-IE53922.2021.00319.
  3. A. Kumar, R. Chhikara and T. Chaira, "A Fair Review of Legal AI Applications and Challenges," 2025 2nd International Conference on Intelligent Systems for Cybersecurity (ISCS), Gurugram, India, 2025, pp. 1-8, doi: 10.1109/ISCS69371.2025.11385936.

4 D. Singh, A. Tomer, T. K. Kaushik, R. Singh and S. Kumar, "The Potential Applications of Artificial Intelligence and Machine Learning in India's Legal System," 2024 International Conference on Communication, Computer Sciences and Engineering (IC3SE), Gautam Buddha Nagar, India, 2024, pp. 820-826, doi: 10.1109/IC3SE62002.2024.10592961.

  1. Wenqi Ren et al., “Automated data synthesis and retrieval-augmented generation for legal large language models,” Knowledge-Based Systems, 2026, Article 116267.
  2. Bo Li et al., “CoLE: A collaborative legal expert prompting framework for large language models in law,” Knowledge-Based Systems, 2025, Article 11305 .
  3. Chau Nguyen, Phuong Nguyen, and Le-Minh Nguyen, “Retrieve–Revise–Refine: A novel framework for retrieval of concise entailing legal article set,” Information Processing & Management, vol. 62, no. 1, 2025, Article 103949.
  4. Peter Jackson et al., “Information extraction from case law and retrieval of prior cases,” Artificial Intelligence, vol. 150, nos. 1–2, 2003, pp. 239–290.
  5. “Natural Language Understanding (NLU)-Powered Information Retrieval from Indian Legal Property Graph,” Procedia Computer Science, vol. 258, 2025, pp. 2500–2509.
  6. Sayed Ayaan Ahmed Sha et al., “Rhetorical-Role-Aware Retrieval-Augmented Generation for Legal Question Answering over Indian Supreme Court Judgments,” 2026.
  7. Shubham Kumar Nigam et al., “AILQA: Evaluating AI-Driven Legal Question Answering Systems for the Indian Legal System,” 2026.
  8. Congqing He et al., “A survey of large language models for legal tasks: Progress, prospects and challenges,” Computer Science Review, vol. 60, 2026, Article 100906.
  9. Silvana Castano et al., “Legal Information Retrieval systems: State-of-the-art and open issues,” Information Systems, vol. 106, 2022.

 

 

Share your valuable work from Social Media Buttons