Enhanced Legal Information Access in Nigeria: A Novel Retrieval Augmented Generation (RAG) Approach

dc.contributor.authorEcheonwu, Emmanuel Chinyere
dc.contributor.authorBolou, Dickson Bolou
dc.contributor.authorOmonijo, Oluwaseyi Oluwatola
dc.contributor.authorUgbogbo, Mike Johnon
dc.contributor.authorOmejieke, Chinenye Ekene
dc.date.accessioned2026-01-31T21:03:39Z
dc.date.issued2025-12
dc.description.abstractThis study presents a novel Retrieval Augmented Generation (RAG), a text-based query system, for efficient access to Nigerian legal information. Utilizing the Nigerian Constitution and Criminal Code as its knowledge base, the system employs a pipeline involving semantic segmentation, Sentence Transformer embeddings, and vector database indexing for optimized information retrieval. User queries are refined by a Google Gemini large language model, trained as a Nigerian legal expert, to identify key terms and intent before searching the database for the top ten most relevant document chunks. These chunks, along with the refined query and keywords, are then fed back into Gemini to generate a detailed, referenced answer. The current implementation is evaluated using the precision. Recall, F1Score, perplexity and diversity metrics, and results fall within acceptable benchmarks of mean values (0.65, 0.73, 0.68, 14.42, 0.87) respectively, representing a significant advancement in making complex legal big data accessible.
dc.identifier.citationEcheonwu, E. C., Bolou, D. B., Omonijo, O. O., Ugbogbo, M. J., & Omejieke, C. E. (2025). Enhanced legal information access in Nigeria: A novel retrieval augmented generation (RAG) approach. International Journal of Innovative Science and Research Technology, 10(12), 1822–1828. https://doi.org/10.38124/ijisrt/25dec1333
dc.identifier.issn2456-2165
dc.identifier.urihttps://repository.nmu.edu.ng/handle/123456789/161
dc.language.isoen
dc.publisherInternational Journal of Innovative Science and Research Technology
dc.relation.ispartofseries10(12)
dc.subjectRetrieval Augmented Generation2
dc.subjectEmbeddings
dc.subjectBigdata
dc.subjectVector Database
dc.subjectLarge Language Model
dc.titleEnhanced Legal Information Access in Nigeria: A Novel Retrieval Augmented Generation (RAG) Approach
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Enhanced Legal Information Access in Nigeria A Novel Retrieval Augmented Generation (RAG) Approach.pdf
Size:
422.58 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.73 KB
Format:
Item-specific license agreed to upon submission
Description: