RAG Without the Lag: Enabling "What-If" Analysis for Retrieval-Augmented Generation Pipelines
Quentin Romero Lauro, Shreya Shankar, Sepanta Zeighami, Aditya G. Parameswaran
摘要
Retrieval-augmented generation (RAG) pipelines have become the de-facto approach for building AI assistants with external knowledge. Given a user query, RAG pipelines retrieve (R) information from external sources, before invoking a Large Language Model (LLM), augmented (A) with this information, to generate (G) responses. However, developing effective RAG pipelines is challenging because retrieval and generation components—often chained in varying orders—are intertwined, making it hard to identify which component(s) cause errors in the output. Developers often need to answer “what-if” questions—e.g., what if chunk sizes were larger or retrieval used embeddings versus keywords—but such experimentation requires hours of re-processing. We present raggy, a developer tool that enables rapid “what-if” analysis by combining a Python library of composable RAG primitives with an interactive debugging interface. We contribute the design and implementation of raggy, insights into expert debugging patterns through a qualitative study with 12 engineers, and design implications for RAG tools.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering TasksQiang Ke, Yanjie Zhao, Hongjin Leng, Shengming Zhao 等FSE 2026
- A Comparison of Conversational Models and Humans in Answering Technical Questions: the Firefox CaseJoão Correia, Daniel Coutinho, Marco Castelluccio, Caio Barbosa 等ICSE 2026
- In-depth Analysis of Graph-based RAG in a Unified FrameworkYingli Zhou, Yaodong Su, Youran Sun, Shu Wang 等VLDB 2025 · 被引用 48 次
- METIS: Fast Quality-Aware RAG Systems with Configuration AdaptationSiddhant Ray, Rui Pan, Zhuohan Gu, Kuntai Du 等SOSP 2025 · 被引用 3 次
- XRAG: Examining the Core - Benchmarking Foundational Components in Advanced Retrieval-Augmented GenerationQili Zhang, Qianren Mao, Yangyifei Luo, Yashuo Luo 等ICDE 2026 · 被引用 1 次
