ppsingh commited on
Commit
1a3a52c
1 Parent(s): 347dbcf

Update auditqa/doc_process.py

Browse files
Files changed (1) hide show
  1. 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
- 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
 
 
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