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.
Just wanted to come back here and announce that delete-by-metadata is now supported on all Pinecone indexes including Serverless. Thanks for all your patience!