anubhav77 commited on
Commit
0d73616
1 Parent(s): 41def3d
Files changed (1) hide show
  1. 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")