Explorar el Código

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 hace 6 meses
padre
commit
f2c9ffc056
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      graphrag/search.py

+ 1
- 0
graphrag/search.py Ver fichero

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

Cargando…
Cancelar
Guardar