Paperboxiv commited on
Commit
1a1dbc3
·
1 Parent(s): 30d0a35

更改文本块大小

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def doc_split(file):
38
  #分解文本
39
  text_splitter = CharacterTextSplitter(
40
  separator = "\n",
41
- chunk_size = 1200,
42
  chunk_overlap = 100,
43
  length_function = len,
44
  )
 
38
  #分解文本
39
  text_splitter = CharacterTextSplitter(
40
  separator = "\n",
41
+ chunk_size = 1000,
42
  chunk_overlap = 100,
43
  length_function = len,
44
  )