arXiv:2502.16573cs.AIcs.LG2025-02被引 12

用AI打造印度法律问答系统,让普通人也能快速查到准确法律信息

LawPal : A Retrieval Augmented Generation Based System for Enhanced Legal Accessibility in India

  • 基于RAG和FAISS向量库,精准检索法律文本
  • 覆盖宪法、法规等海量资料,答对率显著提升
  • 适合普通民众、基层法律工作者使用

印度法律知识获取常受限于认知不足、错误信息及司法资源难及。许多人难以理解复杂法律体系,导致法律误用与保护不足。为此,我们提出一个基于检索增强生成(RAG)的法律聊天机器人,采用面向向量存储的FAISS技术实现高效精准的信息检索。不同于传统聊天机器人,该模型使用涵盖法律书籍、官方文件及印度宪法的广泛数据集进行训练,确保对复杂或误导性法律问题给出准确回答。系统利用FAISS实现快速向量搜索,大幅提升检索速度与精度,并通过提示工程处理歧义或扭曲的法律提问,降低误读风险。除核心问答功能外,平台还提供实时法律新闻更新、法律博客和法律书籍访问,形成综合性法律资源入口。通过融合先进AI与优化检索机制,该系统旨在普及法律知识、提升法律素养、遏制错误信息传播。研究证明,该方法有效提升法律可及性,同时保持高准确率与高效性,助力构建更知情、更赋权的社会。

原文摘要 · Abstract (English)

Access to legal knowledge in India is often hindered by a lack of awareness, misinformation and limited accessibility to judicial resources. Many individuals struggle to navigate complex legal frameworks, leading to the frequent misuse of laws and inadequate legal protection. To address these issues, we propose a Retrieval-Augmented Generation (RAG)-based legal chatbot powered by vectorstore oriented FAISS for efficient and accurate legal information retrieval. Unlike traditional chatbots, our model is trained using an extensive dataset comprising legal books, official documentation and the Indian Constitution, ensuring accurate responses to even the most complex or misleading legal queries. The chatbot leverages FAISS for rapid vector-based search, significantly improving retrieval speed and accuracy. It is also prompt-engineered to handle twisted or ambiguous legal questions, reducing the chances of incorrect interpretations. Apart from its core functionality of answering legal queries, the platform includes additional features such as real-time legal news updates, legal blogs, and access to law-related books, making it a comprehensive resource for users. By integrating advanced AI techniques with an optimized retrieval system, our chatbot aims to democratize legal knowledge, enhance legal literacy, and prevent the spread of misinformation. The study demonstrates that our approach effectively improves legal accessibility while maintaining high accuracy and efficiency, thereby contributing to a more informed and empowered society.

法律AIRAG信息检索印度

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。