mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 15:45:08 +08:00
Fix: missing parent chunk issue. (#12789)
### What problem does this PR solve? Close #12783 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -148,6 +148,7 @@ async def retrieval(tenant_id):
|
||||
doc_ids=doc_ids,
|
||||
rank_feature=label_question(question, [kb])
|
||||
)
|
||||
ranks["chunks"] = settings.retriever.retrieval_by_children(ranks["chunks"], [tenant_id])
|
||||
|
||||
if use_kg:
|
||||
ck = await settings.kg_retriever.retrieval(question,
|
||||
|
||||
Reference in New Issue
Block a user