36
0

FlexRAG: A Flexible and Comprehensive Framework for Retrieval-Augmented Generation

Main:4 Pages
6 Figures
2 Tables
Appendix:7 Pages
Abstract

Retrieval-Augmented Generation (RAG) plays a pivotal role in modern large language model applications, with numerous existing frameworks offering a wide range of functionalities to facilitate the development of RAG systems. However, we have identified several persistent challenges in these frameworks, including difficulties in algorithm reproduction and sharing, lack of new techniques, and high system overhead. To address these limitations, we introduce \textbf{FlexRAG}, an open-source framework specifically designed for research and prototyping. FlexRAG supports text-based, multimodal, and network-based RAG, providing comprehensive lifecycle support alongside efficient asynchronous processing and persistent caching capabilities. By offering a robust and flexible solution, FlexRAG enables researchers to rapidly develop, deploy, and share advanced RAG systems. Our toolkit and resources are available at \href{this https URL}{this https URL}.

View on arXiv
@article{zhang2025_2506.12494,
  title={ FlexRAG: A Flexible and Comprehensive Framework for Retrieval-Augmented Generation },
  author={ Zhuocheng Zhang and Yang Feng and Min Zhang },
  journal={arXiv preprint arXiv:2506.12494},
  year={ 2025 }
}
Comments on this paper