Browse Source

Fix: KG search issue. (#7186)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.18.0
Kevin Hu 6 months ago
parent
commit
f2c9ffc056
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      graphrag/search.py

+ 1
- 0
graphrag/search.py View File

@@ -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})

Loading…
Cancel
Save