fix page content is empty

This commit is contained in:
jyong 2024-03-19 20:29:02 +08:00
parent fbbba6db92
commit 53269506bf

View File

@ -48,6 +48,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
page_content = page_content[1:]
else:
page_content = page_content
if page_content:
document_node.page_content = page_content
split_documents.append(document_node)
all_documents.extend(split_documents)