Skip to main navigation Skip to search Skip to main content

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

  • Zhuocheng Zhang
  • , Yang Feng*
  • , Min Zhang
  • *Corresponding author for this work
  • CAS - Institute of Computing Technology
  • University of Chinese Academy of Sciences
  • Chinese Academy of Sciences
  • Harbin Institute of Technology Shenzhen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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 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 https://github.com/ictnlp/FlexRAG.

Original languageEnglish
Title of host publicationSystem Demonstrations
EditorsPushkar Mishra, Smaranda Muresan, Tao Yu
PublisherAssociation for Computational Linguistics (ACL)
Pages621-631
Number of pages11
ISBN (Electronic)9798891762534
DOIs
StatePublished - 2025
Externally publishedYes
Event63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025 - Vienna, Austria
Duration: 27 Jul 20251 Aug 2025

Publication series

NameProceedings of the Annual Meeting of the Association for Computational Linguistics
Volume3
ISSN (Print)0736-587X

Conference

Conference63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025
Country/TerritoryAustria
CityVienna
Period27/07/251/08/25

Fingerprint

Dive into the research topics of 'FlexRAG: A Flexible and Comprehensive Framework for Retrieval-Augmented Generation'. Together they form a unique fingerprint.

Cite this