Update utils.py
Browse files
utils.py
CHANGED
|
@@ -10,7 +10,7 @@ import os
|
|
| 10 |
def split_with_source(text, source):
|
| 11 |
splitter = CharacterTextSplitter(
|
| 12 |
separator = "\n",
|
| 13 |
-
chunk_size =
|
| 14 |
chunk_overlap = 0,
|
| 15 |
length_function = len,
|
| 16 |
add_start_index = True,
|
|
|
|
| 10 |
def split_with_source(text, source):
|
| 11 |
splitter = CharacterTextSplitter(
|
| 12 |
separator = "\n",
|
| 13 |
+
chunk_size = 512,
|
| 14 |
chunk_overlap = 0,
|
| 15 |
length_function = len,
|
| 16 |
add_start_index = True,
|