Agentic RAG-Based Legal Advisory Chatbot: A Knowledge-Driven Approach for Vietnamese Legal System

Pham Hien, Duong Ngoc Thao Nhi, Pham Thi Ngoc Huyen

2025

Abstract

This paper presents an innovative Agentic Retrieval-Augmented Generation (RAG) approach for developing a legal advisory chatbot specifically designed for the Vietnamese legal system. While traditional RAG systems face limitations in handling complex legal inquiries requiring multi-source integration and domain expertise, our framework addresses these challenges through a centralized Router Agent that coordinates multiple specialized agents via a unified Tools/MCP Server infrastructure. The system incorporates automatic data collection from official legal sources, processing 54,000 legal documents, and provides multi-modal search capabilities including vector search, graph database queries, web search, and external API integration. Experimental evaluation on 1,247 real-world legal queries demonstrates significant improvements with 82.3% accuracy, outperforming baseline systems by 17.2% in context precision and 29.7% in context recall. Human expert evaluation confirms practical applicability with 4.18/5.0 overall satisfaction while maintaining compliance with Vietnamese legal standards.

Download


Paper Citation


in Harvard Style

Hien P., Nhi D. and Huyen P. (2025). Agentic RAG-Based Legal Advisory Chatbot: A Knowledge-Driven Approach for Vietnamese Legal System. In Proceedings of the 17th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KMIS; ISBN 978-989-758-769-6, SciTePress, pages 257-266. DOI: 10.5220/0013735400004000


in Bibtex Style

@conference{kmis25,
author={Pham Hien and Duong Nhi and Pham Huyen},
title={Agentic RAG-Based Legal Advisory Chatbot: A Knowledge-Driven Approach for Vietnamese Legal System},
booktitle={Proceedings of the 17th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KMIS},
year={2025},
pages={257-266},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013735400004000},
isbn={978-989-758-769-6},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KMIS
TI - Agentic RAG-Based Legal Advisory Chatbot: A Knowledge-Driven Approach for Vietnamese Legal System
SN - 978-989-758-769-6
AU - Hien P.
AU - Nhi D.
AU - Huyen P.
PY - 2025
SP - 257
EP - 266
DO - 10.5220/0013735400004000
PB - SciTePress