Chris4K commited on
Commit
59caffa
·
1 Parent(s): 05727e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ print(documents)
20
  print("-----------")
21
 
22
  # Load the document, split it into chunks, embed each chunk, and load it into the vector store.
23
- text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
24
  vdocuments = text_splitter.split_documents(documents)
25
 
26
  # Create Chroma vector store for API embeddings
 
20
  print("-----------")
21
 
22
  # Load the document, split it into chunks, embed each chunk, and load it into the vector store.
23
+ text_splitter = CharacterTextSplitter(chunk_size=200, chunk_overlap=50)
24
  vdocuments = text_splitter.split_documents(documents)
25
 
26
  # Create Chroma vector store for API embeddings