Spaces:
Runtime error
Runtime error
v0.1.4
Browse files- src/chromaIntf.py +1 -1
src/chromaIntf.py
CHANGED
@@ -179,7 +179,7 @@ class ChromaIntf():
|
|
179 |
ids=[doc.metadata['ID'] for doc in docs]
|
180 |
print("ids are:")
|
181 |
print(ids)
|
182 |
-
return self.vectorstore.aadd_documents(docs,ids=ids)
|
183 |
except Exception as ex:
|
184 |
logger.exception("exception in adding",exc_info=True)
|
185 |
print("inside expect of addText")
|
|
|
179 |
ids=[doc.metadata['ID'] for doc in docs]
|
180 |
print("ids are:")
|
181 |
print(ids)
|
182 |
+
return await self.vectorstore.aadd_documents(docs,ids=ids)
|
183 |
except Exception as ex:
|
184 |
logger.exception("exception in adding",exc_info=True)
|
185 |
print("inside expect of addText")
|