Update app.py
Browse files
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=
|
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
|