Merge 621129f500 into c51e6b2a58
This commit is contained in:
commit
2d129802e2
1 changed files with 34 additions and 32 deletions
66
README.md
66
README.md
|
|
@ -30,11 +30,15 @@
|
||||||
<a href="https://github.com/infiniflow/ragflow/blob/main/LICENSE">
|
<a href="https://github.com/infiniflow/ragflow/blob/main/LICENSE">
|
||||||
<img height="21" src="https://img.shields.io/badge/License-Apache--2.0-ffffff?labelColor=d4eaf7&color=2e6cc4" alt="license">
|
<img height="21" src="https://img.shields.io/badge/License-Apache--2.0-ffffff?labelColor=d4eaf7&color=2e6cc4" alt="license">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://deepwiki.com/infiniflow/ragflow">
|
|
||||||
<img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg">
|
|
||||||
</a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
[](https://deepwiki.com/infiniflow/ragflow)
|
||||||
|
[](https://zread.ai/infiniflow/ragflow)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<h4 align="center">
|
<h4 align="center">
|
||||||
<a href="https://ragflow.io/docs/dev/">Document</a> |
|
<a href="https://ragflow.io/docs/dev/">Document</a> |
|
||||||
<a href="https://github.com/infiniflow/ragflow/issues/4214">Roadmap</a> |
|
<a href="https://github.com/infiniflow/ragflow/issues/4214">Roadmap</a> |
|
||||||
|
|
@ -61,8 +65,8 @@
|
||||||
- 🔎 [System Architecture](#-system-architecture)
|
- 🔎 [System Architecture](#-system-architecture)
|
||||||
- 🎬 [Get Started](#-get-started)
|
- 🎬 [Get Started](#-get-started)
|
||||||
- 🔧 [Configurations](#-configurations)
|
- 🔧 [Configurations](#-configurations)
|
||||||
- 🔧 [Build a Docker image](#-build-a-docker-image)
|
- 🔧 [Build a Docker Image](#-build-a-docker-image)
|
||||||
- 🔨 [Launch service from source for development](#-launch-service-from-source-for-development)
|
- 🔨 [Launch Service from Source for Development](#-launch-service-from-source-for-development)
|
||||||
- 📚 [Documentation](#-documentation)
|
- 📚 [Documentation](#-documentation)
|
||||||
- 📜 [Roadmap](#-roadmap)
|
- 📜 [Roadmap](#-roadmap)
|
||||||
- 🏄 [Community](#-community)
|
- 🏄 [Community](#-community)
|
||||||
|
|
@ -72,7 +76,7 @@
|
||||||
|
|
||||||
## 💡 What is RAGFlow?
|
## 💡 What is RAGFlow?
|
||||||
|
|
||||||
[RAGFlow](https://ragflow.io/) is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs. It offers a streamlined RAG workflow adaptable to enterprises of any scale. Powered by a converged context engine and pre-built agent templates, RAGFlow enables developers to transform complex data into high-fidelity, production-ready AI systems with exceptional efficiency and precision.
|
[RAGFlow](https://ragflow.io/) is a leading open-source Retrieval-Augmented Generation (RAG) engine that combines cutting-edge RAG techniques with Agent capabilities to create a superior context layer for Large Language Models (LLMs). It offers a streamlined RAG workflow adaptable to enterprises of any scale. Powered by a converged context engine and pre-built agent templates, RAGFlow enables developers to transform complex data into high-fidelity, production-ready AI systems with exceptional efficiency and precision.
|
||||||
|
|
||||||
## 🎮 Demo
|
## 🎮 Demo
|
||||||
|
|
||||||
|
|
@ -85,8 +89,8 @@ Try our demo at [https://demo.ragflow.io](https://demo.ragflow.io).
|
||||||
|
|
||||||
## 🔥 Latest Updates
|
## 🔥 Latest Updates
|
||||||
|
|
||||||
- 2025-11-19 Supports Gemini 3 Pro.
|
- 2025-11-19 Supports Google's latest Gemini 3 Pro.
|
||||||
- 2025-11-12 Supports data synchronization from Confluence, S3, Notion, Discord, Google Drive.
|
- 2025-11-12 Supports data synchronization from Confluence, S3, Notion, Discord, and Google Drive.
|
||||||
- 2025-10-23 Supports MinerU & Docling as document parsing methods.
|
- 2025-10-23 Supports MinerU & Docling as document parsing methods.
|
||||||
- 2025-10-15 Supports orchestrable ingestion pipeline.
|
- 2025-10-15 Supports orchestrable ingestion pipeline.
|
||||||
- 2025-08-08 Supports OpenAI's latest GPT-5 series models.
|
- 2025-08-08 Supports OpenAI's latest GPT-5 series models.
|
||||||
|
|
@ -97,8 +101,7 @@ Try our demo at [https://demo.ragflow.io](https://demo.ragflow.io).
|
||||||
|
|
||||||
## 🎉 Stay Tuned
|
## 🎉 Stay Tuned
|
||||||
|
|
||||||
⭐️ Star our repository to stay up-to-date with exciting new features and improvements! Get instant notifications for new
|
🌟 Star our repository to stay up-to-date with exciting new features and improvements, and receive instant notifications for new releases! 🌟
|
||||||
releases! 🌟
|
|
||||||
|
|
||||||
<div align="center" style="margin-top:20px;margin-bottom:20px;">
|
<div align="center" style="margin-top:20px;margin-bottom:20px;">
|
||||||
<img src="https://github.com/user-attachments/assets/18c9707e-b8aa-4caf-a154-037089c105ba" width="1200"/>
|
<img src="https://github.com/user-attachments/assets/18c9707e-b8aa-4caf-a154-037089c105ba" width="1200"/>
|
||||||
|
|
@ -115,9 +118,9 @@ releases! 🌟
|
||||||
### 🍱 **Template-based chunking**
|
### 🍱 **Template-based chunking**
|
||||||
|
|
||||||
- Intelligent and explainable.
|
- Intelligent and explainable.
|
||||||
- Plenty of template options to choose from.
|
- A variety of template options are available for you to choose from.
|
||||||
|
|
||||||
### 🌱 **Grounded citations with reduced hallucinations**
|
### 🌱 **Grounded citations reduce hallucinations**
|
||||||
|
|
||||||
- Visualization of text chunking to allow human intervention.
|
- Visualization of text chunking to allow human intervention.
|
||||||
- Quick view of the key references and traceable citations to support grounded answers.
|
- Quick view of the key references and traceable citations to support grounded answers.
|
||||||
|
|
@ -129,7 +132,7 @@ releases! 🌟
|
||||||
### 🛀 **Automated and effortless RAG workflow**
|
### 🛀 **Automated and effortless RAG workflow**
|
||||||
|
|
||||||
- Streamlined RAG orchestration catered to both personal and large businesses.
|
- Streamlined RAG orchestration catered to both personal and large businesses.
|
||||||
- Configurable LLMs as well as embedding models.
|
- Configurable LLMs as well as Embedding models.
|
||||||
- Multiple recall paired with fused re-ranking.
|
- Multiple recall paired with fused re-ranking.
|
||||||
- Intuitive APIs for seamless integration with business.
|
- Intuitive APIs for seamless integration with business.
|
||||||
|
|
||||||
|
|
@ -143,14 +146,14 @@ releases! 🌟
|
||||||
|
|
||||||
### 📝 Prerequisites
|
### 📝 Prerequisites
|
||||||
|
|
||||||
- CPU >= 4 cores
|
- CPU >= 4 Cores
|
||||||
- RAM >= 16 GB
|
- RAM >= 16 GB
|
||||||
- Disk >= 50 GB
|
- Disk >= 50 GB
|
||||||
- Docker >= 24.0.0 & Docker Compose >= v2.26.1
|
- Docker >= v24.0.0 & Docker Compose >= v2.26.1
|
||||||
- [gVisor](https://gvisor.dev/docs/user_guide/install/): Required only if you intend to use the code executor (sandbox) feature of RAGFlow.
|
- [gVisor](https://gvisor.dev/docs/user_guide/install/): Required only if you intend to use the code executor (sandbox) feature of RAGFlow.
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> If you have not installed Docker on your local machine (Windows, Mac, or Linux), see [Install Docker Engine](https://docs.docker.com/engine/install/).
|
> If you have not installed Docker on your local machine (Windows, Mac, or Linux), please see [Install Docker Engine](https://docs.docker.com/engine/install/).
|
||||||
|
|
||||||
### 🚀 Start up the server
|
### 🚀 Start up the server
|
||||||
|
|
||||||
|
|
@ -185,7 +188,7 @@ releases! 🌟
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> All Docker images are built for x86 platforms. We don't currently offer Docker images for ARM64.
|
> All Docker images are built for x86 platforms. We don't currently offer Docker images for ARM64.
|
||||||
> If you are on an ARM64 platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a Docker image compatible with your system.
|
> If you are on an ARM64 platform, please follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a Docker image compatible with your system.
|
||||||
|
|
||||||
> The command below downloads the `v0.22.1` edition of the RAGFlow Docker image. See the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from `v0.22.1`, update the `RAGFLOW_IMAGE` variable accordingly in **docker/.env** before using `docker compose` to start the server.
|
> The command below downloads the `v0.22.1` edition of the RAGFlow Docker image. See the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from `v0.22.1`, update the `RAGFLOW_IMAGE` variable accordingly in **docker/.env** before using `docker compose` to start the server.
|
||||||
|
|
||||||
|
|
@ -204,14 +207,14 @@ releases! 🌟
|
||||||
# docker compose -f docker-compose.yml up -d
|
# docker compose -f docker-compose.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
> Note: Prior to `v0.22.0`, we provided both images with embedding models and slim images without embedding models. Details as follows:
|
> Note: Prior to version `v0.22.0`, we offered both images with embedding models and slim images without embedding models. The details are as follows:
|
||||||
|
|
||||||
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? |
|
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? |
|
||||||
| ----------------- | --------------- | --------------------- | ------------------------ |
|
| ----------------- | --------------- | --------------------- | ------------------------ |
|
||||||
| v0.21.1 | ≈9 | ✔️ | Stable release |
|
| v0.21.1 | ≈9 | ✔️ | Stable release |
|
||||||
| v0.21.1-slim | ≈2 | ❌ | Stable release |
|
| v0.21.1-slim | ≈2 | ❌ | Stable release |
|
||||||
|
|
||||||
> Starting with `v0.22.0`, we ship only the slim edition and no longer append the **-slim** suffix to the image tag.
|
> Beginning with version `v0.22.0`, we now ship only the slim edition and have discontinued appending the **-slim** suffix to the image tag.
|
||||||
|
|
||||||
4. Check the server status after having the server up and running:
|
4. Check the server status after having the server up and running:
|
||||||
|
|
||||||
|
|
@ -271,7 +274,7 @@ Updates to the above configurations require a reboot of all containers to take e
|
||||||
|
|
||||||
### Switch doc engine from Elasticsearch to Infinity
|
### Switch doc engine from Elasticsearch to Infinity
|
||||||
|
|
||||||
RAGFlow uses Elasticsearch by default for storing full text and vectors. To switch to [Infinity](https://github.com/infiniflow/infinity/), follow these steps:
|
RAGFlow uses **Elasticsearch** by default for storing full text and vectors. To switch to [Infinity](https://github.com/infiniflow/infinity/), follow these steps:
|
||||||
|
|
||||||
1. Stop all running containers:
|
1. Stop all running containers:
|
||||||
|
|
||||||
|
|
@ -292,9 +295,9 @@ RAGFlow uses Elasticsearch by default for storing full text and vectors. To swit
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Switching to Infinity on a Linux/arm64 machine is not yet officially supported.
|
> Switching to Infinity on a Linux/arm64 machine is not yet officially supported.
|
||||||
|
|
||||||
## 🔧 Build a Docker image
|
## 🔧 Build a Docker Image
|
||||||
|
|
||||||
This image is approximately 2 GB in size and relies on external LLM and embedding services.
|
This docker image is approximately 2 GB in size and relies on external LLM and Embedding services.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/infiniflow/ragflow.git
|
git clone https://github.com/infiniflow/ragflow.git
|
||||||
|
|
@ -302,7 +305,7 @@ cd ragflow/
|
||||||
docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly .
|
docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly .
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔨 Launch service from source for development
|
## 🔨 Launch Service from Source for Development
|
||||||
|
|
||||||
1. Install `uv` and `pre-commit`, or skip this step if they are already installed:
|
1. Install `uv` and `pre-commit`, or skip this step if they are already installed:
|
||||||
|
|
||||||
|
|
@ -314,7 +317,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/infiniflow/ragflow.git
|
git clone https://github.com/infiniflow/ragflow.git
|
||||||
cd ragflow/
|
cd ragflow/
|
||||||
uv sync --python 3.10 # install RAGFlow dependent python modules
|
uv sync --python 3.10 # install RAGFlow dependent python modules
|
||||||
uv run download_deps.py
|
uv run download_deps.py
|
||||||
pre-commit install
|
pre-commit install
|
||||||
```
|
```
|
||||||
|
|
@ -329,7 +332,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
|
||||||
```
|
```
|
||||||
127.0.0.1 es01 infinity mysql minio redis sandbox-executor-manager
|
127.0.0.1 es01 infinity mysql minio redis sandbox-executor-manager
|
||||||
```
|
```
|
||||||
4. If you cannot access HuggingFace, set the `HF_ENDPOINT` environment variable to use a mirror site:
|
4. If you cannot access HuggingFace, please set the `HF_ENDPOINT` environment variable to use a mirror site:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export HF_ENDPOINT=https://hf-mirror.com
|
export HF_ENDPOINT=https://hf-mirror.com
|
||||||
|
|
@ -365,7 +368,7 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
_The following output confirms a successful launch of the system:_
|
🎉 _The following output confirms a successful launch of the system:_ 🎉
|
||||||
|
|
||||||

|

|
||||||
9. Stop RAGFlow front-end and back-end service after development is complete:
|
9. Stop RAGFlow front-end and back-end service after development is complete:
|
||||||
|
|
@ -378,15 +381,15 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
|
||||||
|
|
||||||
- [Quickstart](https://ragflow.io/docs/dev/)
|
- [Quickstart](https://ragflow.io/docs/dev/)
|
||||||
- [Configuration](https://ragflow.io/docs/dev/configurations)
|
- [Configuration](https://ragflow.io/docs/dev/configurations)
|
||||||
- [Release notes](https://ragflow.io/docs/dev/release_notes)
|
- [Release Notes](https://ragflow.io/docs/dev/release_notes)
|
||||||
- [User guides](https://ragflow.io/docs/dev/category/guides)
|
- [User Guides](https://ragflow.io/docs/dev/category/guides)
|
||||||
- [Developer guides](https://ragflow.io/docs/dev/category/developers)
|
- [Developer Guides](https://ragflow.io/docs/dev/category/developers)
|
||||||
- [References](https://ragflow.io/docs/dev/category/references)
|
- [References](https://ragflow.io/docs/dev/category/references)
|
||||||
- [FAQs](https://ragflow.io/docs/dev/faq)
|
- [FAQs](https://ragflow.io/docs/dev/faq)
|
||||||
|
|
||||||
## 📜 Roadmap
|
## 📜 Roadmap
|
||||||
|
|
||||||
See the [RAGFlow Roadmap 2025](https://github.com/infiniflow/ragflow/issues/4214)
|
Please see the [RAGFlow Roadmap 2025](https://github.com/infiniflow/ragflow/issues/4214)
|
||||||
|
|
||||||
## 🏄 Community
|
## 🏄 Community
|
||||||
|
|
||||||
|
|
@ -396,5 +399,4 @@ See the [RAGFlow Roadmap 2025](https://github.com/infiniflow/ragflow/issues/4214
|
||||||
|
|
||||||
## 🙌 Contributing
|
## 🙌 Contributing
|
||||||
|
|
||||||
RAGFlow flourishes via open-source collaboration. In this spirit, we embrace diverse contributions from the community.
|
RAGFlow flourishes via open-source collaboration, and in this spirit, we welcome diverse contributions from the community. If you would like to be a part, please review our [Contribution Guidelines](https://ragflow.io/docs/dev/contributing) first.
|
||||||
If you would like to be a part, review our [Contribution Guidelines](https://ragflow.io/docs/dev/contributing) first.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue