Refactor ragflow server (#3482)

### What problem does this PR solve?

1. Fix document error
2. Move start server out of if __main__ branch.

### Type of change

- [x] Refactoring

Signed-off-by: jinhai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai 2024-11-19 12:31:20 +08:00 committed by GitHub
parent ed0d47fc8a
commit d0f94a42ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@
> $ docker compose -f docker/docker-compose.yml up -d
> ```
### Elasticsearch 에서 Infinity로 문서 엔진 전환
### Elasticsearch 에서 Infinity 로 문서 엔진 전환
RAGFlow 는 기본적으로 Elasticsearch 를 사용하여 전체 텍스트 및 벡터를 저장합니다. [Infinity]로 전환(https://github.com/infiniflow/infinity/), 다음 절차를 따르십시오.
1. 실행 중인 모든 컨테이너를 중지합니다.

View File

@ -206,7 +206,7 @@
> $ docker compose -f docker-compose.yml up -d
> ```
### 把文档引擎从 Elasticserch 切换成为 Infinity
### 把文档引擎从 Elasticsearch 切换成为 Infinity
RAGFlow 默认使用 Elasticsearch 存储文本和向量数据. 如果要切换为 [Infinity](https://github.com/infiniflow/infinity/), 可以按照下面步骤进行: