RAGVA:基于检索增强生成的虚拟助理的实践工程构建
RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practice
AI总结:
本文结合道路运营公司Transurban替换虚拟助理的实践,给出构建RAG对话应用的分步指南,通过焦点小组研究识别出8项工程挑战并提出8个未来方向,为RAG应用开发与AI软件工程研究提供参考。
摘要:
基于检索增强生成(Retrieval-augmented generation,RAG)的应用因能够利用大语言模型(large language models,LLMs)正日益受到关注。这类系统擅长将检索机制与生成能力相结合,能生成更准确、与上下文更相关的响应,从而提升用户体验。具体而言,道路运营公司Transurban正用基于RAG的虚拟助理(virtual assistant,VA)——RAGVA,替换其原有的基于规则的虚拟助理,以提供更灵活的客户交互并支持更广泛的场景。本文结合Transurban的实践经验,提出了构建对话式应用的分步综合指南,以及RAGVA的工程构建方法,这些指南旨在为未来的研究者和从业者提供参考。尽管传统软件应用的工程流程已相当成熟,但基于RAG的应用的开发与评估仍处于早期阶段,大量新出现的挑战尚未被探明。为填补这一空白,我们与Transurban的从业者开展了焦点小组研究,围绕其RAGVA的开发与评估展开讨论。我们识别出工程团队遇到的8项挑战,并提出了8个有待探索的未来方向,以推动基于RAG的应用的发展。本研究有助于深化对基于RAG的对话式应用及其带来的新兴AI软件工程挑战的基础性理解。
英文摘要:
Retrieval-augmented generation (RAG)-based applications are gaining prominence due to their ability to leverage large language models (LLMs). These systems excel at combining retrieval mechanisms with generative capabilities, resulting in more accurate, contextually relevant responses that enhance user experience. In particular, Transurban, a road operation company, is replacing its rule-based virtual assistant (VA) with a RAG-based VA (RAGVA) to offer more flexible customer interactions and support a wider range of scenarios. In this paper, drawing from the experience at Transurban, we present a comprehensive step-by-step guide for building a conversational application and how to engineer a RAGVA. These guides aim to serve as references for future researchers and practitioners. While the engineering processes for traditional software applications are well-established, the development and evaluation of RAG-based applications are still in their early stages, with numerous emerging challenges remaining uncharted. To address this gap, we conduct a focus group study with Transurban practitioners regarding developing and evaluating their RAGVA. We identified eight challenges encountered by the engineering team and proposed eight future directions that should be explored to advance the development of RAG-based applications. This study contributes to the foundational understanding of a RAG-based conversational application and the emerging AI software engineering challenges it presents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。