LawRAG: Indonesian legal document retrieval-augmented generation with specialized chunking and reranking strategies
At a glance
- Citations
- 0
- References
- 16
- Comments
- 0
Abstract
Purpose Enhancing Question-Answering accuracy on new law documents by using Retrieval-Augmented Generation (RAG)-Large Language Models . Design/methodology/approach The proposed method is built on a RAG design for Indonesian new law documents, incorporating a specific data chunking method and a reranker model. Findings The proposed method, which segments legal data by focusing on the document title, article, and paragraph, outperforms the sequential chunking method in terms of accuracy. Originality/value This research demonstrates that the completeness of a sentence in the data set used during the retrieval phase of RAG significantly affects the accuracy of RAG responses. This is particularly true for legal documents, which are closely tied to the titles of articles and the wording of each legal provision. The relationship between the article titles and the content enhances the context-awareness of each data chunking process.
Publication details
- DOI
- 10.1108/dta-03-2025-0195
- OpenAlex
- W7141454729
- Document type
- article
- Language
- EN
- Source
- Data Technologies and Applications
- Last metadata update
Comments
Log in to join the discussion.