Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +7 -7
auditqa/doc_process.py
CHANGED
@@ -64,13 +64,13 @@ def process_pdf():
|
|
64 |
qdrant_collections = {}
|
65 |
|
66 |
for file,value in all_documents.items():
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
print("done")
|
75 |
return qdrant_collections
|
76 |
|
|
|
64 |
qdrant_collections = {}
|
65 |
|
66 |
for file,value in all_documents.items():
|
67 |
+
print("emebddings for:",file)
|
68 |
+
qdrant_collections[file] = Qdrant.from_documents(
|
69 |
+
value,
|
70 |
+
embeddings,
|
71 |
+
location=":memory:",
|
72 |
+
collection_name=file,
|
73 |
+
)
|
74 |
print("done")
|
75 |
return qdrant_collections
|
76 |
|