3gg commited on
Commit
6fcd382
1 Parent(s): 600cadf

Tweak parameters.

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,13 +9,13 @@ from langchain.vectorstores import FAISS
9
 
10
 
11
  # Number of search results to query from the vector database.
12
- SIMILARITY_SEARCH_COUNT = 2
13
 
14
  # Size of each document chunk in number of characters.
15
- CHUNK_SIZE = 1000
16
 
17
  # Maximum number of output tokens.
18
- MODEL_MAX_LENGTH = 300
19
 
20
 
21
  print("Loading documents")
 
9
 
10
 
11
  # Number of search results to query from the vector database.
12
+ SIMILARITY_SEARCH_COUNT = 7
13
 
14
  # Size of each document chunk in number of characters.
15
+ CHUNK_SIZE = 500
16
 
17
  # Maximum number of output tokens.
18
+ MODEL_MAX_LENGTH = 500
19
 
20
 
21
  print("Loading documents")