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:
Kevin Hu 2025-04-22 12:10:30 +08:00 committed by GitHub
parent 10432a1be7
commit f2c9ffc056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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