Parcourir la source

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 il y a 8 mois
Parent
révision
606ed0c8ab
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      api/db/services/document_service.py

+ 3
- 3
api/db/services/document_service.py Voir le fichier

@@ -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:

Chargement…
Annuler
Enregistrer