fix: Fixes the consecutive DocumentChunk false text
This commit is contained in:
parent
e988a67466
commit
dcc8c96c42
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue