Просмотр исходного кода

Fix: in case running KG repeatly. (#5538)

### What problem does this PR solve?

#5512

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.17.1
Kevin Hu 8 месяцев назад
Родитель
Сommit
606ed0c8ab
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      api/db/services/document_service.py

+ 3
- 3
api/db/services/document_service.py Просмотреть файл

@@ -382,9 +382,9 @@ class DocumentService(CommonService):
def update_progress(cls):
MSG = {
"raptor": "Start RAPTOR (Recursive Abstractive Processing for Tree-Organized Retrieval).",
"graphrag": "Entities extraction progress",
"graph_resolution": "Start Graph Resolution",
"graph_community": "Start Graph Community Reports Generation"
"graphrag": "Entities",
"graph_resolution": "Resolution",
"graph_community": "Communities"
}
docs = cls.get_unfinished_docs()
for d in docs:

Загрузка…
Отмена
Сохранить