mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: Nan issue. (#6242)
### What problem does this PR solve? #6065 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -82,7 +82,7 @@ class Retrieval(ComponentBase, ABC):
|
||||
rank_feature=label_question(query, kbs))
|
||||
else:
|
||||
kbinfos = {"chunks": [], "doc_aggs": []}
|
||||
|
||||
|
||||
if self._param.use_kg and kbs:
|
||||
ck = settings.kg_retrievaler.retrieval(query,
|
||||
[kbs[0].tenant_id],
|
||||
|
||||
Reference in New Issue
Block a user