基于本地化大模型与RAG技术的银行业智能客服系统研究与应用
Research and Application of an Intelligent Customer Service System for the Banking Industry Based on Localized Large Models and RAG Technology
DOI: 10.12677/csa.2025.1512332, PDF,   
作者: 朱宏伟:河北省科技金融协同创新中心,河北 保定;河北金融学院金融科技学院,河北 保定;张 妍:河北省科技金融协同创新中心,河北 保定;河北金融学院经济贸易学院,河北 保定;曹金发:河北金融学院金融科技学院,河北 保定
关键词: 智能客服本地部署检索增强生成(RAG)大语言模型(LLM)中小银行私有知识库Intelligent Customer Service On-Premises Deployment Retrieval-Augmented Generation (RAG) Large Language Model (LLM) Small and Medium-Sized Banks Private Knowledge Base
摘要: 为解决传统金融客服模式响应效率低、服务个性化不足及普惠客群覆盖有限等问题,特别是助力中小银行在普惠金融服务中突破技术投入有限、专业人才短缺等数字化转型困境,本研究设计并实现了一套全链路本地化部署的智能客服系统(AI Agent)。该系统采用Ollama部署大语言模型(LLM)作为核心推理引擎与向量嵌入模型,结合Xinference部署自动语音识别(ASR)、文本转语音(TTS)与重排序(Rerank)模型,并基于Dify平台实现可视化工作流编排、内容审查与应用程序接口(API)服务管理。同时,集成RAGFlow构建本地私有知识库,对金融文档进行向量化处理与检索,形成基于检索增强生成(RAG)的技术框架。结果表明,该系统在保障金融级安全合规的前提下,显著提升了客服响应效率,实现了7 × 24小时全天候运行,并通过智能化客户洞察与个性化服务,有效增强了中小银行在普惠金融领域的服务能力与竞争力。
Abstract: To address the issues of low response efficiency, insufficient personalized services, and limited coverage of inclusive customer groups in traditional financial customer service models, especially to help small and medium-sized banks overcome the digital transformation challenges such as limited technical investment and shortage of professional talents in inclusive financial services, this study designs and implements a fully localized and end-to-end deployed intelligent customer service system (AI Agent). The system adopts Ollama to deploy large language models (LLM) as the core inference engine and vector embedding model, combines Xinference to deploy automatic speech recognition (ASR), text-to-speech (TTS), and re-ranking (Rerank) models, and is based on the Dify platform to achieve visual workflow orchestration, content review, and API service management. At the same time, it integrates RAGFlow to build a local private knowledge base, vectorizes and retrieves financial documents, forming a technology framework based on retrieval-augmented generation (RAG). The results show that the system significantly improves the response efficiency of customer service while ensuring financial-level security and compliance, operates 24/7, and effectively enhances the service capabilities and competitiveness of small and medium-sized banks in the inclusive finance field through intelligent customer insights and personalized services.
文章引用:朱宏伟, 张妍, 曹金发. 基于本地化大模型与RAG技术的银行业智能客服系统研究与应用[J]. 计算机科学与应用, 2025, 15(12): 161-172. https://doi.org/10.12677/csa.2025.1512332

参考文献

[1] 国务院办公厅. 国务院办公厅关于做好金融“五篇大文章”的指导意见(国办发[2025] 8号) [EB/OL].
https://www.gov.cn/zhengce/content/202503/content_7010604.htm, 2025-03-05.
[2] 朱太辉, 张彧通. 农村中小银行数字化转型研究[J]. 金融监管研究, 2021(4): 36-58.
[3] 陆岷峰, 高伦. DeepSeek赋能商业银行创新转型: 技术应用场景分析与未来发展路线[J]. 农村金融研究, 2025(2): 19-34.
[4] 毛茂郦. 人工智能技术重构会计领域的路径与挑战研究[J]. 商业观察, 2025, 11(19): 96-99.
[5] 刘其其, 宗亮, 韩慧宇, 等. 大语言模型在金融领域中的应用研究——以GPT系列大语言模型为例[J]. 北方金融, 2025(7): 14-20.
[6] 杜修平, 王崟羽. 检索增强生成赋能智能导学系统构建研究——基于本地大模型与私有知识库[J]. 中国电化教育, 2025(5): 117-127.
[7] 刘泽垣, 王鹏江, 宋晓斌, 等. 大语言模型的幻觉问题研究综述[J]. 软件学报, 2025, 36(3): 1152-1185.
[8] 戴国华, 武晓鸽, 詹文浩. DeepSeek在终端本地部署的解决方案与发展研究[J]. 移动通信, 2025, 49(3): 100-106.