Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -226,7 +226,7 @@ def document_loading_splitting():
|
|
226 |
docs.extend(loader.load())
|
227 |
################################
|
228 |
# Document splitting
|
229 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_overlap =
|
230 |
splits = text_splitter.split_documents(docs)
|
231 |
|
232 |
return splits
|
|
|
226 |
docs.extend(loader.load())
|
227 |
################################
|
228 |
# Document splitting
|
229 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_overlap = 150, chunk_size = 1500)
|
230 |
splits = text_splitter.split_documents(docs)
|
231 |
|
232 |
return splits
|