Skip to content

Commit

Permalink
Revert "Updated obsolete faqs (infiniflow#3554)"
Browse files Browse the repository at this point in the history
This reverts commit 13ff463.
  • Loading branch information
KevinHuSh committed Nov 22, 2024
1 parent cc5960b commit 49b33ae
Show file tree
Hide file tree
Showing 7 changed files with 217 additions and 237 deletions.
12 changes: 3 additions & 9 deletions docker/.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# The type of doc engine to use.
# Available options:
# - `elasticsearch` (default)
# - `infinity` (https://github.com/infiniflow/infinity)
# Supported values are `elasticsearch`, `infinity`.
DOC_ENGINE=${DOC_ENGINE:-elasticsearch}

# ------------------------------
Expand All @@ -22,7 +20,7 @@ ES_HOST=es01
ES_PORT=1200

# The password for Elasticsearch.
# When updated, you must revise the `es.password` entry in service_conf.yaml accordingly.
# When updated, you must revise the `es.password` entry in service_conf.yaml accordingly.
ELASTIC_PASSWORD=infini_rag_flow

# The port used to expose the Kibana service to the host machine,
Expand Down Expand Up @@ -87,7 +85,7 @@ RAGFLOW_IMAGE=infiniflow/ragflow:dev-slim
# RAGFLOW_IMAGE=infiniflow/ragflow:dev
#
# The Docker image of the dev edition includes:
# - Built-in embedding models:
# - Embedded embedding models:
# - BAAI/bge-large-zh-v1.5
# - BAAI/bge-reranker-v2-m3
# - maidalun1020/bce-embedding-base_v1
Expand Down Expand Up @@ -125,7 +123,3 @@ TIMEZONE='Asia/Shanghai'
# Optimizations for MacOS
# Uncomment the following line if your OS is MacOS:
# MACOS=1

# The maximum file size for each uploaded file, in bytes.
# You can uncomment this line and update the value if you wish to change 128M file size limit
# MAX_CONTENT_LENGTH=134217728
7 changes: 1 addition & 6 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The [.env](./.env) file contains important environment variables for Docker.

- `infiniflow/ragflow:dev-slim` (default): The RAGFlow Docker image without embedding models.
- `infiniflow/ragflow:dev`: The RAGFlow Docker image with embedding models including:
- Built-in embedding models:
- Embedded embedding models:
- `BAAI/bge-large-zh-v1.5`
- `BAAI/bge-reranker-v2-m3`
- `maidalun1020/bce-embedding-base_v1`
Expand Down Expand Up @@ -117,11 +117,6 @@ The [.env](./.env) file contains important environment variables for Docker.
- `MACOS`
Optimizations for MacOS. It is disabled by default. You can uncomment this line if your OS is MacOS.

### Maximum file size

- `MAX_CONTENT_LENGTH`
The maximum file size for each uploaded file, in bytes. You can uncomment this line if you wish to change 128M file size limit.

## 🐋 Service configuration

[service_conf.yaml](./service_conf.yaml) specifies the system-level configuration for RAGFlow and is used by its API server and task executor. In a dockerized setup, this file is automatically created based on the [service_conf.yaml.template](./service_conf.yaml.template) file (replacing all environment variables by their values).
Expand Down
6 changes: 3 additions & 3 deletions docs/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The [.env](https://github.com/infiniflow/ragflow/blob/main/docker/.env) file con
### MySQL

- `MYSQL_PASSWORD`
The password for MySQL.
The password for MySQL.
- `MYSQL_PORT`
The port used to expose the MySQL service to the host machine, allowing **external** access to the MySQL database running inside the Docker container. Defaults to `5455`.

Expand All @@ -75,7 +75,7 @@ The [.env](https://github.com/infiniflow/ragflow/blob/main/docker/.env) file con
- `MINIO_PORT`
The port used to expose the MinIO API service to the host machine, allowing **external** access to the MinIO object storage service running inside the Docker container. Defaults to `9000`.
- `MINIO_USER`
The username for MinIO.
The username for MinIO.
- `MINIO_PASSWORD`
The password for MinIO. accordingly.

Expand All @@ -95,7 +95,7 @@ The [.env](https://github.com/infiniflow/ragflow/blob/main/docker/.env) file con

- `infiniflow/ragflow:dev-slim` (default): The RAGFlow Docker image without embedding models.
- `infiniflow/ragflow:dev`: The RAGFlow Docker image with embedding models including:
- Built-in embedding models:
- Embedded embedding models:
- `BAAI/bge-large-zh-v1.5`
- `BAAI/bge-reranker-v2-m3`
- `maidalun1020/bce-embedding-base_v1`
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ Once you have selected an embedding model and used it to parse a file, you are n
_When the file parsing completes, its parsing status changes to **SUCCESS**._
:::caution NOTE
- If your file parsing gets stuck at below 1%, see [this FAQ](https://ragflow.io/docs/dev/faq#why-does-my-document-parsing-stall-at-under-one-percent).
- If your file parsing gets stuck at near completion, see [this FAQ](https://ragflow.io/docs/dev/faq#why-does-my-pdf-parsing-stall-near-completion-while-the-log-does-not-show-any-error)
- If your file parsing gets stuck at below 1%, see [FAQ 4.3](https://ragflow.io/docs/dev/faq#43-why-does-my-document-parsing-stall-at-under-one-percent).
- If your file parsing gets stuck at near completion, see [FAQ 4.4](https://ragflow.io/docs/dev/faq#44-why-does-my-pdf-parsing-stall-near-completion-while-the-log-does-not-show-any-error)
:::
## Intervene with file parsing
Expand Down
Loading

0 comments on commit 49b33ae

Please sign in to comment.