The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs(chroma): clarify update_documents docstring and argument behavior (#35409)
Kanav Bansal21b64e56fec1
diff --git a/libs/partners/chroma/langchain_chroma/vectorstores.py b/libs/partners/chroma/langchain_chroma/vectorstores.pyindex 0ee3235194..c6754516bb 100644--- a/libs/partners/chroma/langchain_chroma/vectorstores.py+++ b/libs/partners/chroma/langchain_chroma/vectorstores.py@@ -1221,11 +1221,11 @@ class Chroma(VectorStore):return self.update_documents([document_id], [document])def update_documents(self, ids: list[str], documents: list[Document]) -> None:- """Update a document in the collection.+ """Update multiple documents in the collection.Args:- ids: List of ids of the document to update.- documents: List of documents to update.+ ids: List of document IDs to update.+ documents: List of Document objects corresponding to the given IDs.Raises:ValueError: If the embedding function is not provided.