RAG开源框架调研

最近打算基于 RAG 开源框架做一些小 demo,之前只用过个别框架,没有系统调研过,这里记录一下。
关注的一些点:

  • 项目热度(GitHub Star)
  • 社区活跃度(GitHub issues 数量)
  • license(商用友好度)
  • 技术栈(前后端)
项目名称 项目地址 license Star Issues(open/closed) 技术栈 isGraphRAG
AnythingLLM https://github.com/Mintplex-Labs/anything-llm MIT 28.8k 216/1631 JavaScript 97.2%
CSS 2.4%
MaxKB https://github.com/1Panel-dev/MaxKB GPL-3 12.1k 70/792 Python 55.6%
Vue 33.7%
TypeScript 9.4%
RAGFlow https://github.com/infiniflow/ragflow Apache-2.0 25.8k 630/1281 Python 50.3%
TypeScript 46.6%
Dify https://github.com/langgenius/dify Apache-2.0(Dify) 55.7k 274/5208 TypeScript 46.9%
Python 40.5%
FastGPT https://github.com/labring/FastGPT Apache-2.0(FastGPT) 19.2k 295/1852 TypeScript 81.8%
HTML 13.0%
Python 2.3%
Langchain-Chatchat https://github.com/chatchat-space/Langchain-Chatchat Apache-2.0 32.6k 162/3802 TypeScript 65.9%
Python 25.3%
QAnything https://github.com/netease-youdao/QAnything AGPL-3.0 12.1k 337/100 Python 98.0%
Quivr https://github.com/QuivrHQ/quivr Apache-2.0 36.9k 85/1398 Python 99.2%
Shell 0.8%
Verba https://github.com/weaviate/Verba BSD-3 6.5k 35/236 TypeScript 47.2%
Python 47.0%
FlashRAG https://github.com/RUC-NLPIR/FlashRAG MIT 1.5k 7/84 Python 100.0%
LightRAG https://github.com/SylphAI-Inc/AdalFlow MIT 2.4k 35/21 Python 99.9%
kotaemon https://github.com/Cinnamon/kotaemon Apache-2.0 18.1k 135/192 Python 91.3%
HTML 3.2%
RAGapp https://github.com/ragapp/ragapp Apache-2.0 3.9k 41/65 TypeScript 54.6%
Python 42.1%
AutoRAG https://github.com/Marker-Inc-Korea/AutoRAG Apache-2.0 3k 113/469 Python 99.7%
LightRAG https://github.com/HKUDS/LightRAG MIT 12.1k 152/219 Python 100.0%
GraphRAG-Ollama-UI https://github.com/severian42/GraphRAG-Local-UI MIT 1.8k 49/46 Python 95.7%
microsoft-GraphRAG https://github.com/microsoft/graphrag MIT 20.9k 159/406 Python 95.3%
Jupyter Notebook 4.7%
nano-GraphRAG https://github.com/gusye1234/nano-graphrag MIT 2k 38/35 Python 100.0%
Fast-GraphRAG https://github.com/circlemind-ai/fast-graphrag MIT 2.6k 15/20 Python 99.0%
KAG https://github.com/OpenSPG/KAG Apache-2.0 2.7k 30/46 Python 99.0%
DB-GPT https://github.com/eosphoros-ai/DB-GPT MIT 14.2k 191/1016 Python71.9%
TypeScript15.0%

一些个人看法:

  • Dify 有着最高的热度,产品形态也比较成熟【推荐】但是 license 不允许 SaaS 商用
  • Langchain-Chatchat 项目,既有很高的社区热度、活跃度,也有很友好的技术栈(前端 React,后端 Python)【推荐】
  • GraphRAG 热度相对低一些,这个可能也跟各个公司目前 Knowledge Graph 基建确实有关系吧。相对普通的 RAG 而言,把公司的数据资产,从头开始创建 KG 的 ROI 是一个比较难以说服老板的问题
posted @ 2024-12-30 16:16  zion03  阅读(326)  评论(0)    收藏  举报