The Application of RAG in Langchain Framework in Classical Chinese

Currently, the world's mainstream Large Language Models (LLMs) offer significantly less support for Chinese than for English, resulting in challenges when utilizing generative LLMs to produce high-quality Chinese traditional literature works. This paper proposes a data source creation method, t...

Full description

Bibliographic Details
Main Authors: Liu, Zhi Hao, Leong, Wai Yie
Format: Article
Language:English
English
Published: INTI International University 2025
Subjects:
Online Access:http://eprints.intimal.edu.my/2163/
http://eprints.intimal.edu.my/2163/1/ij2025_22.pdf
http://eprints.intimal.edu.my/2163/2/710
_version_ 1848766981610668032
author Liu, Zhi Hao
Leong, Wai Yie
author_facet Liu, Zhi Hao
Leong, Wai Yie
author_sort Liu, Zhi Hao
building INTI Institutional Repository
collection Online Access
description Currently, the world's mainstream Large Language Models (LLMs) offer significantly less support for Chinese than for English, resulting in challenges when utilizing generative LLMs to produce high-quality Chinese traditional literature works. This paper proposes a data source creation method, this method interprets words according to their extended meanings, which means one meaning of a word produces another or several meanings related to it in the process of language development, then use a word segmentation tool to divide the different meanings of a word, which re-quantifies the nouns, verbs, stories and histories in classical Chinese, the advantage of quantifying in this way is that it can effectively solve the problem of polysemy of words, and enhances the logical correlation between contexts. From the results, the correlation between the generated classical Chinese and the real results has been greatly improved. We use the Retrieval Augmented Generation (RAG) method to get the results at the least cost without retraining the new LLM
first_indexed 2025-11-14T11:59:47Z
format Article
id intimal-2163
institution INTI International University
institution_category Local University
language English
English
last_indexed 2025-11-14T11:59:47Z
publishDate 2025
publisher INTI International University
recordtype eprints
repository_type Digital Repository
spelling intimal-21632025-08-18T08:29:07Z http://eprints.intimal.edu.my/2163/ The Application of RAG in Langchain Framework in Classical Chinese Liu, Zhi Hao Leong, Wai Yie P Philology. Linguistics QA76 Computer software T Technology (General) Currently, the world's mainstream Large Language Models (LLMs) offer significantly less support for Chinese than for English, resulting in challenges when utilizing generative LLMs to produce high-quality Chinese traditional literature works. This paper proposes a data source creation method, this method interprets words according to their extended meanings, which means one meaning of a word produces another or several meanings related to it in the process of language development, then use a word segmentation tool to divide the different meanings of a word, which re-quantifies the nouns, verbs, stories and histories in classical Chinese, the advantage of quantifying in this way is that it can effectively solve the problem of polysemy of words, and enhances the logical correlation between contexts. From the results, the correlation between the generated classical Chinese and the real results has been greatly improved. We use the Retrieval Augmented Generation (RAG) method to get the results at the least cost without retraining the new LLM INTI International University 2025-08 Article PeerReviewed text en cc_by_4 http://eprints.intimal.edu.my/2163/1/ij2025_22.pdf text en cc_by_4 http://eprints.intimal.edu.my/2163/2/710 Liu, Zhi Hao and Leong, Wai Yie (2025) The Application of RAG in Langchain Framework in Classical Chinese. INTI JOURNAL, 2025 (22). pp. 1-7. ISSN e2600-7320 https://intijournal.intimal.edu.my
spellingShingle P Philology. Linguistics
QA76 Computer software
T Technology (General)
Liu, Zhi Hao
Leong, Wai Yie
The Application of RAG in Langchain Framework in Classical Chinese
title The Application of RAG in Langchain Framework in Classical Chinese
title_full The Application of RAG in Langchain Framework in Classical Chinese
title_fullStr The Application of RAG in Langchain Framework in Classical Chinese
title_full_unstemmed The Application of RAG in Langchain Framework in Classical Chinese
title_short The Application of RAG in Langchain Framework in Classical Chinese
title_sort application of rag in langchain framework in classical chinese
topic P Philology. Linguistics
QA76 Computer software
T Technology (General)
url http://eprints.intimal.edu.my/2163/
http://eprints.intimal.edu.my/2163/
http://eprints.intimal.edu.my/2163/1/ij2025_22.pdf
http://eprints.intimal.edu.my/2163/2/710