RAGflow/README.md

127 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
<img src="assets/ragflow-plus.png" width="400" alt="Ragflow-Plus">
</div>
<div align="center">
<img src="https://img.shields.io/badge/版本-0.2.1-blue" alt="版本">
<a href="LICENSE"><img src="https://img.shields.io/badge/许可证-AGPL3.0-green" alt="许可证"></a>
<h4>
<a href="README.md">🇨🇳 中文</a>
<span> | </span>
<a href="README_EN.md">🇬🇧 English</a>
</h4>
</div>
---
## 🌟 简介
Ragflow-Plus 是一个基于 Ragflow 的二次开发项目,目的是解决实际应用中的一些问题,主要有以下特点:
- 管理模式
额外搭建后台管理系统,支持管理员执行用户管理、团队管理、配置管理、文件管理、知识库管理等功能
- 权限回收
前台系统对用户权限进行收缩,进一步简化界面
- 解析增强
使用MinerU替代DeepDoc算法使文件解析效果更好并支持图片解析
- 图文输出
支持模型在回答时,输出引用文本块关联的相关图片
- 文档撰写模式
支持全新的文档模式交互体验
视频演示及操作教程:
[![Ragflow-Plus项目简介与操作指南](https://i0.hdslb.com/bfs/archive/f7d8da4a112431af523bfb64043fe81da7dad8ee.jpg@672w_378h_1c.avif)](https://www.bilibili.com/video/BV1UJLezaEEE)
## 📥使用方式
#### 1. 使用Docker Compose运行
在项目根目录下执行
使用GPU运行
```bash
docker compose -f docker/docker-compose_gpu.yml up -d
```
使用CPU运行
```bash
docker compose -f docker/docker-compose.yml up -d
```
访问地址:`服务器ip:80`,进入到前台界面
访问地址:`服务器ip:8888`,进入到后台管理界面
图文教程:[https://blog.csdn.net/qq1198768105/article/details/147475488](https://blog.csdn.net/qq1198768105/article/details/147475488)
#### 2. 源码运行(mysql、minio、es等组件仍需docker启动)
1. 启动后台管理系统:
- 启动后端:进入到`management/server`,执行:
```bash
python app.py
```
- 启动前端:进入到`management\web`,执行:
```bash
pnpm dev
```
2. 启动前台交互系统:
- 启动后端:项目根目录下执行:
```bash
python -m api.ragflow_server
```
- 启动前端:进入到`web`,执行:
```bash
pnpm dev
```
## 🛠️ 如何贡献
1. Fork本GitHub仓库
2. 将fork克隆到本地
`git clone git@github.com:<你的用户名>/ragflow-plus.git`
3. 创建本地分支:
`git checkout -b my-branch`
4. 提交信息需包含充分说明:
`git commit -m '提交信息需包含充分说明'`
5. 推送更改到GitHub含必要提交信息
`git push origin my-branch`
6. 提交PR等待审核
## 📄 交流群
如果有其它需求或问题建议可加入交流群进行讨论目前1群已满2群可扫码加入。
<div align="center">
<img src="assets/group.jpg" width="200" alt="2群二维码">
</div>
## 🚀 鸣谢
本项目基于以下开源项目开发:
- [ragflow](https://github.com/infiniflow/ragflow)
- [v3-admin-vite](https://github.com/un-pany/v3-admin-vite)
- [minerU](https://github.com/opendatalab/MinerU)
## 💻 更新信息获取
目前该项目仍在持续更新中,更新日志会在我的微信公众号[我有一计]上发布,欢迎关注。
## ✨ Star History
![Stargazers over time](https://starchart.cc/zstar1003/ragflow-plus.svg)