The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: update delete method in vectorstores.mdx (#29497)
A Venkata Sai Krishna Varun21d8d41595f4
diff --git a/docs/docs/concepts/vectorstores.mdx b/docs/docs/concepts/vectorstores.mdxindex 3493d6b0d2..16cc23ba79 100644--- a/docs/docs/concepts/vectorstores.mdx+++ b/docs/docs/concepts/vectorstores.mdx@@ -39,7 +39,7 @@ The interface consists of basic methods for writing, deleting and searching forThe key methods are:- `add_documents`: Add a list of texts to the vector store.-- `delete_documents`: Delete a list of documents from the vector store.+- `delete`: Delete a list of documents from the vector store.- `similarity_search`: Search for similar documents to a given query.@@ -89,10 +89,10 @@ vector_store.add_documents(documents=documents, ids=["doc1", "doc2"])## Delete-To delete documents, use the `delete_documents` method which takes a list of document IDs to delete.+To delete documents, use the `delete` method which takes a list of document IDs to delete.```python-vector_store.delete_documents(ids=["doc1"])+vector_store.delete(ids=["doc1"])```## Search