Added kb_id filter to knn. Fix #3458 (#3513)

### What problem does this PR solve?

Added kb_id filter to knn. Fix #3458

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Zhichang Yu
2024-11-20 11:47:39 +08:00
committed by Yingfeng Zhang
parent e559cebcdc
commit cad341e794
3 changed files with 39 additions and 43 deletions

View File

@ -757,7 +757,7 @@ class RAGFlowPdfParser:
if ii is not None:
b = louts[ii]
else:
logging.warn(
logging.warning(
f"Missing layout match: {pn + 1},%s" %
(bxs[0].get(
"layoutno", "")))