NepKANUN: A RAG-Based Nepali Legal Assistant

Bhabuk Thapa, Prasiddha Koirala, Ranjit Raut, Sunil Regmi, Bal Krishna Bal
7/15/2026
cs.CL
rag

No confident code implementation found for this paper.

Abstract

Accessing legal information in Nepal is difficult due to complex terminology, limited resources, and misinformation. We introduce an AI-powered legal assistant that is tailored for Nepali legal texts and is built on a fine-tuned large language model.

Show full abstract

The technology provides precise, streamlined answers to natural language legal inquiries when integrated into a Retrieval-Augmented Generation (RAG) framework. It was trained using a custom dataset of high-quality question-answer pairs, and according to BERTScore, it obtained strong F1 scores of 0.82 (simple), 0.77 (moderate), and 0.71 (complex). Its usability is further confirmed by expert reviews. Our method shows how merging generation and retrieval can effectively democratize access to legal knowledge in Nepal by focusing on customized legal data and incorporating RAG.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{thapa2026nepkanun,
  title  = {NepKANUN: A RAG-Based Nepali Legal Assistant},
  author = {Bhabuk Thapa and Prasiddha Koirala and Ranjit Raut and Sunil Regmi and Bal Krishna Bal},
  year   = {2026},
  eprint = {2609.15999},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.15999v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.15999.svg)](https://codeofpaper.com/paper/2609.15999)

Discussion