mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix raptor issue (#3737)
### What problem does this PR solve? #3732 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -344,7 +344,7 @@ def run_raptor(row, chat_mdl, embd_mdl, callback=None):
|
||||
row["parser_config"]["raptor"]["threshold"]
|
||||
)
|
||||
original_length = len(chunks)
|
||||
raptor(chunks, row["parser_config"]["raptor"]["random_seed"], callback)
|
||||
chunks = raptor(chunks, row["parser_config"]["raptor"]["random_seed"], callback)
|
||||
doc = {
|
||||
"doc_id": row["doc_id"],
|
||||
"kb_id": [str(row["kb_id"])],
|
||||
|
||||
Reference in New Issue
Block a user