# FlexRAG

> FlexRAG: A RAG Framework for Information Retrieval and Generation.

- **URL**: https://www.freshcrate.ai/projects/FlexRAG
- **Author**: ictnlp
- **Category**: Frameworks
- **Latest version**: `0.3.0` (2025-06-10)
- **License**: MIT
- **Source**: https://github.com/ictnlp/FlexRAG
- **Homepage**: https://flexrag.readthedocs.io/en/latest
- **Language**: Python
- **GitHub**: 236 stars, 23 forks
- **Registry**: github
- **Tags**: `llms`, `nlp`, `python`, `rag`

## Description

FlexRAG: A RAG Framework for Information Retrieval and Generation.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `0.3.0` | 2025-06-10 | Low | ## What's Changed * [FEAT] Add prepare corpus entrypoint by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/29 * [REFACTOR] Configure optimize by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/30 * [REFACTOR] Refactor retriever by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/34 * [Fix] Remove python 3.14 in classifiers by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/35   **Full Changelog**: https://github.com/ictnlp/FlexRAG/compare/0. |
| `0.2.0` | 2025-03-24 | Low | ## What's Changed * [REFACTOR] Optimize web retriever by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/27 * [DOC] Add Chinese docs by @ZhuochengZhang98 in https://github.com/ictnlp/FlexRAG/pull/28   **Full Changelog**: https://github.com/ictnlp/FlexRAG/compare/0.1.12...0.2.0 |
| `0.1.12` | 2025-02-26 | Low | [FIX] Fix the `rebuild_index` entrypoint  **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.11...0.1.12 |
| `0.1.11` | 2025-02-25 | Low | [FIX] Update setup.py to include assets.  **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.10...0.1.11 |
| `0.1.10` | 2025-02-25 | Low | [FIX] change the assets paths for `run_interactive` entrypoints  **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.9...0.1.10 |
| `0.1.9` | 2025-02-25 | Low | ## What's Changed * [FEAT] Add huggingface intergration by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/24   **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.8...0.1.9 |
| `0.1.8` | 2025-02-13 | Low | ## What's Changed * [FIX] Update requirements by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/18 * [FEAT] Optimize LoggerManager & RAGEvalDataset by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/20 * [FEAT] Add chunking methods by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/22 * [DOC] Optimize document by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/23   **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.7...0.1.8 |
| `0.1.7` | 2025-02-05 | Low | ## What's Changed * Fix bugs and add support for HugghingFace datasets by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/17   **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.6...0.1.7 |
| `0.1.6` | 2025-01-27 | Low | Celebration For Chinese New Year 🎉🎉🎉  ## What's Changed * Optimize the documentation. by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/12 and @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/13 * optimize the requirements by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/14 * Add auto docstring for Register by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/15 * Add run_retriever entrypoint and add some new retrieval metrics. by @Zhuoche |
| `0.1.5` | 2025-01-08 | Low | ## What's Changed * Add singlehop qa benchmark by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/9 * Add wheels for Windows by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/11 * Change document theme by @ZhuochengZhang98 in https://github.com/ictnlp/flexrag/pull/11   **Full Changelog**: https://github.com/ictnlp/flexrag/compare/0.1.4...0.1.5 |

## Dependency audit

- **Score**: 31/100
- **Total deps**: 52
- **Resolved**: 28
- **Unresolved**: 24
- **License conflicts**: 0
- **Warnings**: 30
- **Scanned**: 2026-05-04

## Citation

- HTML: https://www.freshcrate.ai/projects/FlexRAG
- Markdown: https://www.freshcrate.ai/projects/FlexRAG.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/FlexRAG/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
