Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
reichaves authored Sep 30, 2024
1 parent 365c9e6 commit 94228b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94228b5

Please sign in to comment.