mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: append results to paragraph_list instead of replacing it
This commit is contained in:
parent
daacbc3e4e
commit
85597a4568
|
|
@ -64,7 +64,7 @@ class BaseDocumentSplitNode(IDocumentSplitNode):
|
|||
document_name_relate_problem_reference
|
||||
)
|
||||
|
||||
paragraph_list = results
|
||||
paragraph_list += results
|
||||
|
||||
self.context['paragraph_list'] = paragraph_list
|
||||
|
||||
|
|
@ -135,6 +135,5 @@ class BaseDocumentSplitNode(IDocumentSplitNode):
|
|||
'type': self.node.type,
|
||||
'status': self.status,
|
||||
'err_message': self.err_message,
|
||||
'file_list': self.context.get('file_list'),
|
||||
'paragraph_list': self.context.get('paragraph_list', []),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue