My Attorney: An AI- Based Legal Assistance for Indian Citizens
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.