ppsingh commited on
Commit
9d74925
1 Parent(s): ad723c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -51,8 +51,13 @@ model_config = getconfig("model_params.cfg")
51
  #### VECTOR STORE ####
52
  # reports contain the already created chunks from Markdown version of pdf reports
53
  # document processing was done using : https://github.com/axa-group/Parsr
54
- # We need to create the local vector store once using load_chunks
55
- vectorstores = load_chunks()
 
 
 
 
 
56
 
57
 
58
  #### FUNCTIONS ####
 
51
  #### VECTOR STORE ####
52
  # reports contain the already created chunks from Markdown version of pdf reports
53
  # document processing was done using : https://github.com/axa-group/Parsr
54
+ # We need to create the local vectorstore collection once using load_chunks
55
+ # vectorestore colection are stored on persistent storage so this needs to be run only once
56
+ # hence, comment out line below when creating for first time
57
+ # vectorstores = load_chunks()
58
+ # once the vectore embeddings are created we will use qdrant client to access these
59
+ vectorstores = get_local_qdrant()
60
+
61
 
62
 
63
  #### FUNCTIONS ####