Metraipolis › archive › dc_468e62f276ab

Building a Multilingual AI Legal Assistant Using Retrieval-Augmented Generation: A Case Study on the Legal System of Kazakhstan (2026) · DOI 10.3390/computers15090556

Source
Metraipolis archive
Original
https://doi.org/10.3390/computers15090556
License (as archived)
CC-BY-4.0
Archived
2026-10-08T08:24:58.847Z
SHA-256 of the archived text
e12dee807068cd0cf68f280536575f0f2957f69b5fd6e711b84c425acaacdb3a
Stable URL of this page
https://metraipolis.com/documento/dc_468e62f276ab

How to cite

Building a Multilingual AI Legal Assistant Using Retrieval-Augmented Generation: A Case Study on the Legal System of Kazakhstan (2026) · DOI 10.3390/computers15090556 — Metraipolis archive, https://doi.org/10.3390/computers15090556 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_468e62f276ab (Metraipolis archive dc_468e62f276ab, sha256 e12dee807068cd0cf68f280536575f0f2957f69b5fd6e711b84c425acaacdb3a)
BibTeX
@misc{dc468e62f276ab,
  title = {Building a Multilingual AI Legal Assistant Using Retrieval-Augmented Generation: A Case Study on the Legal System of Kazakhstan (2026) · DOI 10.3390/computers15090556},
  howpublished = {Metraipolis archive},
  url = {https://doi.org/10.3390/computers15090556},
  note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_468e62f276ab; sha256 e12dee807068cd0cf68f280536575f0f2957f69b5fd6e711b84c425acaacdb3a},
  year = {2026}
}

Archived text

Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, https://doi.org/10.3390/computers15090556. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Articolo recente con licenza aperta: scheda dai metadati Crossref (journal-article).
Titolo: Building a Multilingual AI Legal Assistant Using Retrieval-Augmented Generation: A Case Study on the Legal System of Kazakhstan
Autori: Nurzhan Mukazhanov, Zhibek Alibiyeva, Ainur Akhmediyarova, Bauyrzhan Ashirbekov, Nurzhol Yerbolat, Maksat Kanat
Pubblicato: 2026-08-25 · in: Computers · editore: MDPI AG
DOI: https://doi.org/10.3390/computers15090556
Licenza dell'articolo: CC-BY-4.0

Abstract (testo degli autori, CC-BY-4.0):
This study presents the development of an Artificial Intelligence (AI)-based legal assistant using the Retrieval-Augmented Generation (RAG) architecture to provide legal assistance to citizens of the Republic of Kazakhstan. The proposed solution is designed to generate accurate, evidence-based responses to user queries using the regulatory legal acts of the Republic of Kazakhstan as the primary source of information. A legal corpus comprising 101,000 legislative documents and court decisions, with approximately 77 million tokens in Kazakh and Russian, was constructed to support the retrieval component of the system. To identify the most effective semantic retrieval method, three multilingual embedding models—Multilingual-E5-Large, BGE-M3, and KazEmbed-V5—were evaluated for vector search. The experimental results showed retrieval accuracies of 87.6%, 76.8%, and 83.3%, respectively. The GPT-5.4 and Llama-4-Scout-17B-16E-Instruct large language models were used to generate legal reasoning and responses based on documents retrieved through semantic search. The quality of the generated responses was evaluated using two complementary approaches. First, legal experts assessed the factual correctness and legal validity of the answers. Second, automatic evaluation was performed using word-level F1, BLEU, ROUGE, and BERTScore-F1 metrics. Among all evaluated configurations, GPT-5.4 combined with Multilingual-E5-Large achieved the highest overall accuracy (88.5%), whereas Llama-4-Scout-17B-16E-Instruct combined with KazEmbed-V5 achieved an accuracy of 83.6%. Based on the proposed architecture and the selected semantic retrieval and language models, an AI legal assistant was developed and integrated into the “Adal Azamat” legal services platform providing users in Kazakhstan with practical access to AI-assisted legal consultation.

Fonte: https://api.crossref.org/works/10.3390%2Fcomputers15090556 — metadati Crossref, consultati il 2026-10-08. Interrogazione: «multilingual embeddings retrieval».