We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f67ded commit 3b7f280Copy full SHA for 3b7f280
src/app.py
@@ -54,7 +54,7 @@ def pdf_loader(path):
54
55
# Build a retrival agent
56
from langchain_text_splitters import RecursiveCharacterTextSplitter
57
-text_splitter = RecursiveCharacterTextSplitter(chunk_size=10000, chunk_overlap=300)
+text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=500)
58
splits = text_splitter.split_documents(docs)
59
60
from langchain_core.vectorstores import InMemoryVectorStore
0 commit comments