nickmuchi commited on
Commit
17aca0b
1 Parent(s): 2d43fe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -9,6 +9,11 @@ from threading import Lock
9
 
10
  with open("vanguard_vectorstore.pkl", "rb") as f:
11
  vectorstore = pickle.load(f)
 
 
 
 
 
12
 
13
  _template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.
14
  You can assume the question about investing and the investment management industry.
 
9
 
10
  with open("vanguard_vectorstore.pkl", "rb") as f:
11
  vectorstore = pickle.load(f)
12
+
13
+ print(vectorstore)
14
+ query = 'What is the benefit of investing in an ETF?'
15
+
16
+ print(vectorstore.similarity_search(query,2))
17
 
18
  _template = """Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.
19
  You can assume the question about investing and the investment management industry.