From 9dfcae2b5d2ef8c31eade109f931af8341665c28 Mon Sep 17 00:00:00 2001 From: Jin Hai Date: Thu, 10 Oct 2024 10:38:57 +0800 Subject: [PATCH] Fix error commands (#2778) ### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai --- README_ja.md | 1 - README_ko.md | 1 - README_zh.md | 1 - docker/entrypoint.sh | 0 docs/guides/configure_knowledge_base.md | 2 +- docs/quickstart.mdx | 3 +-- docs/references/faq.md | 1 - 7 files changed, 2 insertions(+), 7 deletions(-) mode change 100644 => 100755 docker/entrypoint.sh diff --git a/README_ja.md b/README_ja.md index 5e924e691..e0cd2c4da 100644 --- a/README_ja.md +++ b/README_ja.md @@ -137,7 +137,6 @@ ```bash $ cd ragflow/docker - $ chmod +x ./entrypoint.sh $ docker compose up -d ``` diff --git a/README_ko.md b/README_ko.md index c4bcc6dc0..7089432aa 100644 --- a/README_ko.md +++ b/README_ko.md @@ -141,7 +141,6 @@ > 다음 명령어를 실행하면 *dev* 버전의 RAGFlow Docker 이미지가 자동으로 다운로드됩니다. 특정 Docker 버전을 다운로드하고 실행하려면, **docker/.env** 파일에서 `RAGFLOW_IMAGE`을 원하는 버전으로 업데이트한 후, 예를 들어 `RAGFLOW_IMAGE=infiniflow/ragflow:v0.12.0-slim`로 업데이트 한 뒤, 다음 명령어를 실행하세요. ```bash $ cd ragflow/docker - $ chmod +x ./entrypoint.sh $ docker compose up -d ``` diff --git a/README_zh.md b/README_zh.md index 207f042b4..63d605a3a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -137,7 +137,6 @@ ```bash $ cd ragflow/docker - $ chmod +x ./entrypoint.sh $ docker compose -f docker-compose.yml up -d ``` diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh old mode 100644 new mode 100755 diff --git a/docs/guides/configure_knowledge_base.md b/docs/guides/configure_knowledge_base.md index 0516d33ef..11df27dc4 100644 --- a/docs/guides/configure_knowledge_base.md +++ b/docs/guides/configure_knowledge_base.md @@ -58,7 +58,7 @@ You can also change the chunk template for a particular file on the **Datasets** ### Select embedding model -An embedding model builds vector index on file chunks. Once you have chosen an embedding model and used it to parse a file, you are no longer allowed to change it. To switch to a different embedding model, you *must* deletes all completed file chunks in the knowledge base. The obvious reason is that we must *ensure* that all files in a specific knowledge base are parsed using the *same* embedding model (ensure that they are compared in the same embedding space). +An embedding model builds vector index on file chunks. Once you have chosen an embedding model and used it to parse a file, you are no longer allowed to change it. To switch to a different embedding model, you *must* delete all completed file chunks in the knowledge base. The obvious reason is that we must *ensure* that all files in a specific knowledge base are parsed using the *same* embedding model (ensure that they are compared in the same embedding space). The following embedding models can be deployed locally: diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index f99eab396..26084e839 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -181,11 +181,10 @@ This section provides instructions on setting up the RAGFlow server on Linux. If ```bash $ cd ragflow/docker - $ chmod +x ./entrypoint.sh $ docker compose up -d ``` -> The core image is about 9 GB in size and may take a while to load. +> The core image is about 1 GB in size and may take a while to load. 4. Check the server status after having the server up and running: diff --git a/docs/references/faq.md b/docs/references/faq.md index 2bc4555a5..13b6a4354 100644 --- a/docs/references/faq.md +++ b/docs/references/faq.md @@ -75,7 +75,6 @@ $ git clone https://github.com/infiniflow/ragflow.git $ cd ragflow $ docker build -t infiniflow/ragflow:latest . $ cd ragflow/docker -$ chmod +x ./entrypoint.sh $ docker compose up -d ```