### What problem does this PR solve? ### Type of change - [x] Documentation Updatetags/v0.9.0
| <a href="https://demo.ragflow.io" target="_blank"> | <a href="https://demo.ragflow.io" target="_blank"> | ||||
| <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | ||||
| <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | ||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.8.0-brightgreen" alt="docker pull infiniflow/ragflow:v0.8.0"></a> | |||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.9.0-brightgreen" alt="docker pull infiniflow/ragflow:v0.9.0"></a> | |||||
| <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://demo.ragflow.io" target="_blank"> | <a href="https://demo.ragflow.io" target="_blank"> | ||||
| <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | ||||
| <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | ||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.8.0-brightgreen" | |||||
| alt="docker pull infiniflow/ragflow:v0.8.0"></a> | |||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.9.0-brightgreen" | |||||
| alt="docker pull infiniflow/ragflow:v0.9.0"></a> | |||||
| <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> | ||||
| $ docker compose up -d | $ docker compose up -d | ||||
| ``` | ``` | ||||
| > 上記のコマンドを実行すると、RAGFlowの開発版dockerイメージが自動的にダウンロードされます。 特定のバージョンのDockerイメージをダウンロードして実行したい場合は、docker/.envファイルのRAGFLOW_VERSION変数を見つけて、対応するバージョンに変更してください。 例えば、RAGFLOW_VERSION=v0.8.0として、上記のコマンドを実行してください。 | |||||
| > 上記のコマンドを実行すると、RAGFlowの開発版dockerイメージが自動的にダウンロードされます。 特定のバージョンのDockerイメージをダウンロードして実行したい場合は、docker/.envファイルのRAGFLOW_VERSION変数を見つけて、対応するバージョンに変更してください。 例えば、RAGFLOW_VERSION=v0.9.0として、上記のコマンドを実行してください。 | |||||
| > コアイメージのサイズは約 9 GB で、ロードに時間がかかる場合があります。 | > コアイメージのサイズは約 9 GB で、ロードに時間がかかる場合があります。 | ||||
| <a href="https://demo.ragflow.io" target="_blank"> | <a href="https://demo.ragflow.io" target="_blank"> | ||||
| <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | <img alt="Static Badge" src="https://img.shields.io/badge/Online-Demo-4e6b99"></a> | ||||
| <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | <a href="https://hub.docker.com/r/infiniflow/ragflow" target="_blank"> | ||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.8.0-brightgreen" alt="docker pull infiniflow/ragflow:v0.8.0"></a> | |||||
| <img src="https://img.shields.io/badge/docker_pull-ragflow:v0.9.0-brightgreen" alt="docker pull infiniflow/ragflow:v0.9.0"></a> | |||||
| <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> | ||||
| $ docker compose -f docker-compose-CN.yml up -d | $ docker compose -f docker-compose-CN.yml up -d | ||||
| ``` | ``` | ||||
| > 请注意,运行上述命令会自动下载 RAGFlow 的开发版本 docker 镜像。如果你想下载并运行特定版本的 docker 镜像,请在 docker/.env 文件中找到 RAGFLOW_VERSION 变量,将其改为对应版本。例如 RAGFLOW_VERSION=v0.8.0,然后运行上述命令。 | |||||
| > 请注意,运行上述命令会自动下载 RAGFlow 的开发版本 docker 镜像。如果你想下载并运行特定版本的 docker 镜像,请在 docker/.env 文件中找到 RAGFLOW_VERSION 变量,将其改为对应版本。例如 RAGFLOW_VERSION=v0.9.0,然后运行上述命令。 | |||||
| > 核心镜像文件大约 9 GB,可能需要一定时间拉取。请耐心等待。 | > 核心镜像文件大约 9 GB,可能需要一定时间拉取。请耐心等待。 | ||||
| ```bash | ```bash | ||||
| $ git clone https://github.com/infiniflow/ragflow.git | $ git clone https://github.com/infiniflow/ragflow.git | ||||
| $ cd ragflow/ | $ cd ragflow/ | ||||
| $ docker build -t infiniflow/ragflow:v0.8.0 . | |||||
| $ docker build -t infiniflow/ragflow:v0.9.0 . | |||||
| $ cd ragflow/docker | $ cd ragflow/docker | ||||
| $ chmod +x ./entrypoint.sh | $ chmod +x ./entrypoint.sh | ||||
| $ docker compose up -d | $ docker compose up -d |
| prg = 0 | prg = 0 | ||||
| finished = True | finished = True | ||||
| bad = 0 | bad = 0 | ||||
| status = d["run"]#TaskStatus.RUNNING.value | |||||
| e, doc = DocumentService.get_by_id(d["id"]) | |||||
| status = doc.run#TaskStatus.RUNNING.value | |||||
| for t in tsks: | for t in tsks: | ||||
| if 0 <= t.progress < 1: | if 0 <= t.progress < 1: | ||||
| finished = False | finished = False |
| ## Search for knowledge base | ## Search for knowledge base | ||||
| As of RAGFlow v0.8.0, the search feature is still in a rudimentary form, supporting only knowledge base search by name. | |||||
| As of RAGFlow v0.9.0, the search feature is still in a rudimentary form, supporting only knowledge base search by name. | |||||
|  |  | ||||
| ## Move file to a specific folder | ## Move file to a specific folder | ||||
| As of RAGFlow v0.8.0, this feature is *not* available. | |||||
| As of RAGFlow v0.9.0, this feature is *not* available. | |||||
| ## Search files or folders | ## Search files or folders | ||||
| As of RAGFlow v0.8.0, the search feature is still in a rudimentary form, supporting only file and folder search in the current directory by name (files or folders in the child directory will not be retrieved). | |||||
| As of RAGFlow v0.9.0, the search feature is still in a rudimentary form, supporting only file and folder search in the current directory by name (files or folders in the child directory will not be retrieved). | |||||
|  |  | ||||
|  |  | ||||
| > As of RAGFlow v0.8.0, bulk download is not supported, nor can you download an entire folder. | |||||
| > As of RAGFlow v0.9.0, bulk download is not supported, nor can you download an entire folder. |
| `vm.max_map_count`. This value sets the maximum number of memory map areas a process may have. Its default value is 65530. While most applications require fewer than a thousand maps, reducing this value can result in abmornal behaviors, and the system will throw out-of-memory errors when a process reaches the limitation. | `vm.max_map_count`. This value sets the maximum number of memory map areas a process may have. Its default value is 65530. While most applications require fewer than a thousand maps, reducing this value can result in abmornal behaviors, and the system will throw out-of-memory errors when a process reaches the limitation. | ||||
| RAGFlow v0.8.0 uses Elasticsearch for multiple recall. Setting the value of `vm.max_map_count` correctly is crucial to the proper functioning of the Elasticsearch component. | |||||
| RAGFlow v0.9.0 uses Elasticsearch for multiple recall. Setting the value of `vm.max_map_count` correctly is crucial to the proper functioning of the Elasticsearch component. | |||||
| <Tabs | <Tabs | ||||
| defaultValue="linux" | defaultValue="linux" | ||||
| 3. Build the pre-built Docker images and start up the server: | 3. Build the pre-built Docker images and start up the server: | ||||
| > Running the following commands automatically downloads the *dev* version RAGFlow Docker image. To download and run a specified Docker version, update `RAGFLOW_VERSION` in **docker/.env** to the intended version, for example `RAGFLOW_VERSION=v0.8.0`, before running the following commands. | |||||
| > Running the following commands automatically downloads the *dev* version RAGFlow Docker image. To download and run a specified Docker version, update `RAGFLOW_VERSION` in **docker/.env** to the intended version, for example `RAGFLOW_VERSION=v0.9.0`, before running the following commands. | |||||
| ```bash | ```bash | ||||
| $ cd ragflow/docker | $ cd ragflow/docker |