fix: Fixes the consecutive DocumentChunk false text

This commit is contained in:
hajdul88 2024-11-12 11:50:19 +01:00
parent e988a67466
commit dcc8c96c42

View file

@ -17,6 +17,7 @@ class TextChunker():
self.get_text = get_text
def read(self):
self.paragraph_chunks = []
for content_text in self.get_text():
for chunk_data in chunk_by_paragraph(
content_text,