首页|期刊导航|现代情报|融合DeepSeek-R1和RAG技术的先秦文化元典智能问答研究

融合DeepSeek-R1和RAG技术的先秦文化元典智能问答研究OA

Research on Intelligent Question Answering for Pre-Qin Cultural Classics by Integrating DeepSeek-R1 and RAG Technologies

中文摘要英文摘要

[目的/意义]先秦文化元典是中华文明的源头文献,对其进行知识组织与智能应用,可以为建设中华民族现代文明提供历史依据和价值判断,增强国家文化软实力.本研究旨在基于检索增强生成(RAG)技术的先秦文化元典智能问答系统,推动相关知识的智能化应用与传承.[方法/过程]以中华书局出版的《春秋》三传为研究对象,构建先秦文化元典本体模型,采用DeepSeek-R1进行知识抽取并构建知识图谱.基于LangChain框架,运用GraphRAG、NaiveRAG、LightRAG、HybridRAG这4种RAG方法对大语言模型进行检索增强,并从定量和混合两方面评估问答能力.[结果/结论]研究结果显示,DeepSeek-R1抽取效果良好,生成的三元组能有效覆盖关键知识且质量较高.在智能问答评估中,不同RAG方法各有优劣.GraphRAG在各类问题和评估维度上表现较佳,尤其在考证溯源型、应用实践型等问题上表现突出;NaiveRAG在事实知识型问题上表现较好.综合定量与混合评估来看,根据实际应用场景选择合适的RAG技术至关重要.

[Purpose/Significance]As the source literature of Chinese civilization,the pre-Qin cultural classics contri-bute to providing historical evidence and value judgments for building a modern Chinese national civilization and enhancing national cultural soft power through knowledge organization and intelligent application.This study aims to develop an inte-lligent Q&A system for pre-Qin cultural classics based on Retrieval-Augmented Generation(RAG)technology to promote the intelligent application and inheritance of relevant knowledge.[Methods/Process]Taking the"Three Commentaries on the Spring and Autumn Annals"published by Zhonghua Book Company as the research object,the research constructed an ontology model for pre-Qin cultural classics,and used DeepSeek-R1 for knowledge extraction,and constructed a knowledge graph.Based on the LangChain framework,four Retrieval-Augmented Generation(RAG)methods-GraphRAG,NaiveRAG,LightRAG,and HybridRAG-were employed to enhance the retrieval ability of the large language model,and the question-answering ability was evaluated from both quantitative and mixed aspects.[Result/Conclusion]The research results show that DeepSeek-R1 demonstrates excellent extraction performance,with the generated triples effectively covering key knowledge while maintaining high quality.In the intelligent question-answering evaluation,different RAG approaches have their respective strengths and weaknesses.GraphRAG performs well across various question types and evaluation dimensions,particularly excelling in verification-and-traceability-oriented and applied-practice-oriented questions.NaiveRAG shows better performance in factual knowledge-oriented questions.Based on comprehensive quantitative and hybrid evaluations,selecting appropriate RAG technology according to practical application scenarios is crucial.

张强;高颖;任豆豆;韩牧哲;包平

淮阴师范学院文学院,江苏 淮安 223300||南京农业大学人文与社会发展学院,江苏 南京 210095||南京农业大学数字人文研究中心,江苏 南京 210095南京农业大学人文与社会发展学院,江苏 南京 210095||南京农业大学数字人文研究中心,江苏 南京 210095新疆大学计算机科学与技术学院,新疆维吾尔自治区 乌鲁木齐 830017江苏大学图书馆,江苏 镇江 212013南京农业大学人文与社会发展学院,江苏 南京 210095||南京农业大学数字人文研究中心,江苏 南京 210095

信息技术与安全科学

先秦文化元典大语言模型DeepSeek检索增强生成智能问答

pre-Qin cultural classicslarge language modelsDeepSeekRetrieval-Augmented Generationintelli-gent question answering

《现代情报》 2026 (1)

173-186,14

国家社会科学基金青年项目"出土文献的多模态知识组织与融合研究"(项目编号:23CTQ038).

10.3969/j.issn.1008-0821.2026.01.015

评论