Enhanced Legal Information Access in Nigeria: A Novel Retrieval Augmented Generation (RAG) Approach
| dc.contributor.author | Echeonwu, Emmanuel Chinyere | |
| dc.contributor.author | Bolou, Dickson Bolou | |
| dc.contributor.author | Omonijo, Oluwaseyi Oluwatola | |
| dc.contributor.author | Ugbogbo, Mike Johnon | |
| dc.contributor.author | Omejieke, Chinenye Ekene | |
| dc.date.accessioned | 2026-01-31T21:03:39Z | |
| dc.date.issued | 2025-12 | |
| dc.description.abstract | This 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.citation | Echeonwu, 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.issn | 2456-2165 | |
| dc.identifier.uri | https://repository.nmu.edu.ng/handle/123456789/161 | |
| dc.language.iso | en | |
| dc.publisher | International Journal of Innovative Science and Research Technology | |
| dc.relation.ispartofseries | 10(12) | |
| dc.subject | Retrieval Augmented Generation2 | |
| dc.subject | Embeddings | |
| dc.subject | Bigdata | |
| dc.subject | Vector Database | |
| dc.subject | Large Language Model | |
| dc.title | Enhanced Legal Information Access in Nigeria: A Novel Retrieval Augmented Generation (RAG) Approach | |
| dc.type | Article |
Files
Original bundle
1 - 1 of 1
Loading...
- 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
1 - 1 of 1
Loading...
- Name:
- license.txt
- Size:
- 1.73 KB
- Format:
- Item-specific license agreed to upon submission
- Description: