PyroSama commited on
Commit
c92b2c9
1 Parent(s): 4f07836

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -192,7 +192,7 @@ def read_file(data: str) -> Document:
192
  doc = Document(page_content=content, metadata={"name": data.split('/')[-1]})
193
  return doc
194
 
195
- text_splitter = RecursiveCharacterTextSplitter(chunk_size=800, chunk_overlap=100)
196
 
197
  def add_doc(data,vectorstore):
198
  doc = read_file(data)
 
192
  doc = Document(page_content=content, metadata={"name": data.split('/')[-1]})
193
  return doc
194
 
195
+ text_splitter = RecursiveCharacterTextSplitter(chunk_size=2000, chunk_overlap=400)
196
 
197
  def add_doc(data,vectorstore):
198
  doc = read_file(data)