Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
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 ####
|