Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: KG search issue. (#7186)

Kevin Huf2c9ffc056be
diff --git a/graphrag/search.py b/graphrag/search.py
index 6a0236a05a..b5c5fe9b29 100644
--- a/graphrag/search.py
+++ b/graphrag/search.py
@@ -148,6 +148,7 @@ class KGSearch(Dealer):
comm_topn: int = 1,
ent_sim_threshold: float = 0.3,
rel_sim_threshold: float = 0.3,
+ **kwargs
):
qst = question
filters = self.get_filters({"kb_ids": kb_ids})