mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-02 00:25:06 +08:00
Don't release full image (#10654)
### What problem does this PR solve? Introduced gpu profile in .env Added Dockerfile_tei fix datrie Removed LIGHTEN flag ### Type of change - [x] Documentation Update - [x] Refactoring
This commit is contained in:
@ -47,7 +47,7 @@ By default, a combination of weighted keyword similarity and weighted vector cos
|
||||
As a starter, you can skip this step to stay with the default retrieval method.
|
||||
|
||||
:::caution WARNING
|
||||
Using a rerank model will *significantly* increase the system's response time. If you must use a rerank model, ensure you use a SaaS reranker; if you prefer a locally deployed rerank model, ensure you start RAGFlow with **docker-compose-gpu.yml**.
|
||||
Using a rerank model will *significantly* increase the system's response time.
|
||||
:::
|
||||
|
||||
### 5. Enable cross-language search
|
||||
@ -140,6 +140,5 @@ The global variable name for the output of the **Retrieval** component, which ca
|
||||
|
||||
Go through the checklist below for best performance:
|
||||
|
||||
- Leave the **Rerank model** field empty.
|
||||
- If you must use a rerank model, ensure you use a SaaS reranker; if you prefer a locally deployed rerank model, ensure you start RAGFlow with **docker-compose-gpu.yml**.
|
||||
- Leave the **Rerank model** field empty to disable rerank.
|
||||
- Disable **Use knowledge graph**.
|
||||
|
||||
@ -62,7 +62,7 @@ $ sudo docker exec ollama ollama pull bge-m3
|
||||
|
||||
- If RAGFlow runs in Docker, the localhost is mapped within the RAGFlow Docker container as `host.docker.internal`. If Ollama runs on the same host machine, the right URL to use for Ollama would be `http://host.docker.internal:11434/' and you should check that Ollama is accessible from inside the RAGFlow container with:
|
||||
```bash
|
||||
$ sudo docker exec -it ragflow-server bash
|
||||
$ sudo docker exec -it docker-ragflow-cpu-1 bash
|
||||
$ curl http://host.docker.internal:11434/
|
||||
> Ollama is running
|
||||
```
|
||||
|
||||
@ -7,15 +7,15 @@ slug: /upgrade_ragflow
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
Upgrade RAGFlow to `nightly-slim`/`nightly` or the latest, published release.
|
||||
Upgrade RAGFlow to `nightly` or the latest, published release.
|
||||
|
||||
:::info NOTE
|
||||
Upgrading RAGFlow in itself will *not* remove your uploaded/historical data. However, be aware that `docker compose -f docker/docker-compose.yml down -v` will remove Docker container volumes, resulting in data loss.
|
||||
:::
|
||||
|
||||
## Upgrade RAGFlow to `nightly-slim`/`nightly`, the most recent, tested Docker image
|
||||
## Upgrade RAGFlow to `nightly`, the most recent, tested Docker image
|
||||
|
||||
`nightly-slim` refers to the RAGFlow Docker image *without* embedding models, while `nightly` refers to the RAGFlow Docker image with embedding models. For details on their differences, see [ragflow/docker/.env](https://github.com/infiniflow/ragflow/blob/main/docker/.env).
|
||||
`nightly` refers to the RAGFlow Docker image without embedding models.
|
||||
|
||||
To upgrade RAGFlow, you must upgrade **both** your code **and** your Docker image:
|
||||
|
||||
@ -27,27 +27,9 @@ To upgrade RAGFlow, you must upgrade **both** your code **and** your Docker imag
|
||||
|
||||
2. Update **ragflow/docker/.env**:
|
||||
|
||||
<Tabs
|
||||
defaultValue="nightly-slim"
|
||||
values={[
|
||||
{label: 'nightly-slim', value: 'nightly-slim'},
|
||||
{label: 'nightly', value: 'nightly'},
|
||||
]}>
|
||||
<TabItem value="nightly-slim">
|
||||
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:nightly-slim
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="nightly">
|
||||
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:nightly
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:nightly
|
||||
```
|
||||
|
||||
3. Update RAGFlow image and restart RAGFlow:
|
||||
|
||||
@ -74,27 +56,9 @@ To upgrade RAGFlow, you must upgrade **both** your code **and** your Docker imag
|
||||
|
||||
3. Update **ragflow/docker/.env**:
|
||||
|
||||
<Tabs
|
||||
defaultValue="slim"
|
||||
values={[
|
||||
{label: 'slim', value: 'slim'},
|
||||
{label: 'full', value: 'full'},
|
||||
]}>
|
||||
<TabItem value="slim">
|
||||
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1-slim
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="full">
|
||||
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
```bash
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1
|
||||
```
|
||||
|
||||
4. Update the RAGFlow image and restart RAGFlow:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user