mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-25 19:44:59 +00:00
chore:fmt
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
"""RAG STORAGE MANAGER manager."""
|
"""RAG STORAGE MANAGER manager."""
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
from typing import List, Optional, Type
|
from typing import List, Optional, Type
|
||||||
|
|
||||||
@@ -102,7 +103,10 @@ class StorageManager(BaseComponent):
|
|||||||
if storage_config.graph:
|
if storage_config.graph:
|
||||||
graph_config = storage_config.graph
|
graph_config = storage_config.graph
|
||||||
graph_config.llm_model = llm_model
|
graph_config.llm_model = llm_model
|
||||||
if hasattr(graph_config, "enable_summary") and graph_config.enable_summary:
|
if (
|
||||||
|
hasattr(graph_config, "enable_summary")
|
||||||
|
and graph_config.enable_summary
|
||||||
|
):
|
||||||
from dbgpt_ext.storage.knowledge_graph.community_summary import (
|
from dbgpt_ext.storage.knowledge_graph.community_summary import (
|
||||||
CommunitySummaryKnowledgeGraph,
|
CommunitySummaryKnowledgeGraph,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user