writinwaters
commited on
Commit
·
65ed2b0
1
Parent(s):
09d54d8
Updated instructions on upgrading to RAGFlow dev (#3175)
Browse files### What problem does this PR solve?
### Type of change
- [x] Documentation Update
docker/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
Look into [.env](./.env), there're some important variables.
|
| 5 |
|
| 6 |
## MYSQL_PASSWORD
|
|
|
|
| 7 |
The mysql password could be changed by this variable. But you need to change *mysql.password* in [service_conf.yaml](./service_conf.yaml) at the same time.
|
| 8 |
|
| 9 |
|
|
|
|
| 4 |
Look into [.env](./.env), there're some important variables.
|
| 5 |
|
| 6 |
## MYSQL_PASSWORD
|
| 7 |
+
|
| 8 |
The mysql password could be changed by this variable. But you need to change *mysql.password* in [service_conf.yaml](./service_conf.yaml) at the same time.
|
| 9 |
|
| 10 |
|
docs/guides/upgrade_ragflow.md
CHANGED
|
@@ -18,7 +18,13 @@ You can upgrade RAGFlow to dev version or the latest version:
|
|
| 18 |
RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
| 19 |
```
|
| 20 |
|
| 21 |
-
2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
```bash
|
| 24 |
docker compose -f docker/docker-compose.yml pull
|
|
|
|
| 18 |
RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
| 19 |
```
|
| 20 |
|
| 21 |
+
2. Pull the latest code from inside Docker:
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
git pull
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
3. Update RAGFlow image and restart RAGFlow:
|
| 28 |
|
| 29 |
```bash
|
| 30 |
docker compose -f docker/docker-compose.yml pull
|
docs/references/http_api_reference.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
|
|
| 1 |
sidebar_position: 0
|
| 2 |
-
|
| 3 |
slug: /http_api_reference
|
| 4 |
---
|
| 5 |
|
|
@@ -70,7 +70,7 @@ curl --request POST \
|
|
| 70 |
|
| 71 |
- `"language"`: (*Body parameter*), `string`
|
| 72 |
The language setting of the dataset to create. Available options:
|
| 73 |
-
- `"English"` (
|
| 74 |
- `"Chinese"`
|
| 75 |
|
| 76 |
- `"embedding_model"`: (*Body parameter*), `string`
|
|
|
|
| 1 |
+
---
|
| 2 |
sidebar_position: 0
|
|
|
|
| 3 |
slug: /http_api_reference
|
| 4 |
---
|
| 5 |
|
|
|
|
| 70 |
|
| 71 |
- `"language"`: (*Body parameter*), `string`
|
| 72 |
The language setting of the dataset to create. Available options:
|
| 73 |
+
- `"English"` (default)
|
| 74 |
- `"Chinese"`
|
| 75 |
|
| 76 |
- `"embedding_model"`: (*Body parameter*), `string`
|
docs/references/python_api_reference.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
|
|
| 1 |
sidebar_position: 1
|
| 2 |
-
|
| 3 |
slug: /python_api_reference
|
| 4 |
---
|
| 5 |
|
|
@@ -58,7 +58,7 @@ A brief description of the dataset to create. Defaults to `""`.
|
|
| 58 |
|
| 59 |
The language setting of the dataset to create. Available options:
|
| 60 |
|
| 61 |
-
- `"English"` (
|
| 62 |
- `"Chinese"`
|
| 63 |
|
| 64 |
#### permission
|
|
|
|
| 1 |
+
---
|
| 2 |
sidebar_position: 1
|
|
|
|
| 3 |
slug: /python_api_reference
|
| 4 |
---
|
| 5 |
|
|
|
|
| 58 |
|
| 59 |
The language setting of the dataset to create. Available options:
|
| 60 |
|
| 61 |
+
- `"English"` (default)
|
| 62 |
- `"Chinese"`
|
| 63 |
|
| 64 |
#### permission
|