From 94228b541c7fe778c1295478eb068e79cae12f28 Mon Sep 17 00:00:00 2001 From: Reinaldo Chaves Date: Sun, 29 Sep 2024 22:36:37 -0300 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 5ce032e..cf67bb0 100644 --- a/app.py +++ b/app.py @@ -190,7 +190,7 @@ documents.extend(docs) os.unlink(temp_file_path) # Remove temporary file - text_splitter = RecursiveCharacterTextSplitter(chunk_size=500, chunk_overlap=50) + text_splitter = RecursiveCharacterTextSplitter(chunk_size=10000, chunk_overlap=1000) splits = text_splitter.split_documents(documents) # Create FAISS vector store