document = Document(page_content=text, metadata=metadata)
embedding = OpenAIEmbeddings()
vectordb = Chroma(persist_directory=persist_directory,
embedding_function=embedding,
collection_name=collection_name)
vectordb.update_document(document_id, document)
报错:
File "C:\Users\dswh\AppData\Roaming\Python\Python39\site-packages\langchain\vectorstores\chroma.py", line 342, in update_document
self._collection.update_document(document_id, text, metadata)
AttributeError: 'Collection' object has no attribute 'update_document'
请问这一部分是还没有开发吗? 我应该如何实现document的更新?