sidcww commited on
Commit
313ed1c
1 Parent(s): 4926e83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001", google_a
19
  loader = PyPDFLoader("handbook.pdf")
20
  text_splitter = CharacterTextSplitter(
21
  separator=".",
22
- chunk_size=2000,
23
  chunk_overlap=50,
24
  length_function=len,
25
  is_separator_regex=False,
 
19
  loader = PyPDFLoader("handbook.pdf")
20
  text_splitter = CharacterTextSplitter(
21
  separator=".",
22
+ chunk_size=500,
23
  chunk_overlap=50,
24
  length_function=len,
25
  is_separator_regex=False,