Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +1 -1
auditqa/doc_process.py
CHANGED
@@ -101,7 +101,7 @@ def get_local_qdrant():
|
|
101 |
model_name="BAAI/bge-small-en-v1.5")
|
102 |
list_ = ['Consolidated','District','Ministry','allreports']
|
103 |
for val in list_:
|
104 |
-
client = QdrantClient(path="./data/{val}")
|
105 |
print(client.get_collections())
|
106 |
qdrant_collections[val] = Qdrant(client=client, collection_name=val, embeddings=embeddings, )
|
107 |
return qdrant_collections
|
|
|
101 |
model_name="BAAI/bge-small-en-v1.5")
|
102 |
list_ = ['Consolidated','District','Ministry','allreports']
|
103 |
for val in list_:
|
104 |
+
client = QdrantClient(path=f"./data/{val}")
|
105 |
print(client.get_collections())
|
106 |
qdrant_collections[val] = Qdrant(client=client, collection_name=val, embeddings=embeddings, )
|
107 |
return qdrant_collections
|