Spaces:
Running
on
T4
Running
on
T4
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +2 -2
auditqa/doc_process.py
CHANGED
|
@@ -86,11 +86,11 @@ def process_pdf():
|
|
| 86 |
qdrant_collections[file] = Qdrant.from_documents(
|
| 87 |
value,
|
| 88 |
embeddings,
|
| 89 |
-
|
| 90 |
collection_name=file,
|
| 91 |
)
|
| 92 |
|
| 93 |
-
print("done")
|
| 94 |
return qdrant_collections
|
| 95 |
|
| 96 |
def get_local_qdrant():
|
|
|
|
| 86 |
qdrant_collections[file] = Qdrant.from_documents(
|
| 87 |
value,
|
| 88 |
embeddings,
|
| 89 |
+
location=":memory:",
|
| 90 |
collection_name=file,
|
| 91 |
)
|
| 92 |
|
| 93 |
+
print("vector embeddings done")
|
| 94 |
return qdrant_collections
|
| 95 |
|
| 96 |
def get_local_qdrant():
|