mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-04 10:34:30 +00:00
refactor: the document structure of GraphRAG (#2084)
This commit is contained in:
@@ -128,7 +128,7 @@ class VectorStoreConnector:
|
||||
|
||||
def __rewrite_index_store_type(self, index_store_type):
|
||||
# Rewrite Knowledge Graph Type
|
||||
if CFG.ENABLE_GRAPH_COMMUNITY_SUMMARY:
|
||||
if CFG.GRAPH_COMMUNITY_SUMMARY_ENABLED:
|
||||
if index_store_type == "KnowledgeGraph":
|
||||
return "CommunitySummaryKnowledgeGraph"
|
||||
return index_store_type
|
||||
|
Reference in New Issue
Block a user