mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: KG search issue. (#7186)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -148,6 +148,7 @@ class KGSearch(Dealer):
|
|||||||
comm_topn: int = 1,
|
comm_topn: int = 1,
|
||||||
ent_sim_threshold: float = 0.3,
|
ent_sim_threshold: float = 0.3,
|
||||||
rel_sim_threshold: float = 0.3,
|
rel_sim_threshold: float = 0.3,
|
||||||
|
**kwargs
|
||||||
):
|
):
|
||||||
qst = question
|
qst = question
|
||||||
filters = self.get_filters({"kb_ids": kb_ids})
|
filters = self.get_filters({"kb_ids": kb_ids})
|
||||||
|
|||||||
Reference in New Issue
Block a user