ShynBui commited on
Commit
ff54afc
·
verified ·
1 Parent(s): 2cdd386

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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 = 2048,
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,