Find answers from the community

Updated 6 months ago

Vector Store delete_nodes() NotImplemented

At a glance

The community member encountered an issue when trying to delete nodes from a vector database using the llama_index library. The error message indicated that the delete_nodes method was not implemented. After upgrading the llama_index package, the community member was unsure if the issue was due to the upgrade or a separate problem.

In the comments, another community member checked the code and found that the delete_nodes method was implemented in the QdrantVectorStore integration. The issue was that the community member had not updated their qdrant_vector_store package, which resolved the problem.

vector_db_service.index.delete_nodes([chunk_ids], True)
File "C:...\Python\Python311\Lib\site-packages\llama_index\core\indices\vector_store\base.py", line 349, in delete_nodes
self._vector_store.delete_nodes(node_ids, **delete_kwargs)
File "C:...\Python\Python311\Lib\site-packages\llama_index\core\vector_stores\types.py", line 385, in delete_nodes
raise NotImplementedError("delete_nodes not implemented")
NotImplementedError: delete_nodes not implemented

I just upgraded my llama_index main package with pip install --upgrade llama_index
Is it really not implemented or I am having some issue?
b
3 comments
I checked the code, it is implemented in QdrantVectorStore integration.. I guess the core/vector_store/types.py is flat out laying

I will removing the raise NotImplemented locally
ok problem was I didn't update my qdrant_vector_store 😦
Everything is fine now
Add a reply
Sign up and join the conversation on Discord