I’m using pinecone API which from:
from langchain_pinecone import PineconeVectorStore
and the delete code is like:
vectorstore.delete(filter=meta_data)
then got exception:
HTTP response body: {“code”:3,“message”:“Serverless and Starter indexes do not support deleting with metadata filtering.”,“details”:}
could you confirm?
Hello @music1913, welcome to the forums.
- What version of langchain are you using?
- What type of index are you using?
If it’s a Serverless index, then deleting via metadata is not supported. We are recommending using key-prefixing, this might be a case where Langchain needs to be updated.
In the meantime one work around is to use the a pod-base index.