When using pinecone, it would be nice to not have to create a new vectorStore instance for different namespaces. This PR is to simply: - ~~add a setter to update the pinecone namespace used during requests~~ - Add additional functions that allow passing a custom namespace during add, search and delete

Comment From: adambchouti

Probably best to just pass the namespace as a parameter when adding, searching and removing from the vector store

Comment From: markpollack

Thanks for this. I've created this issue https://github.com/spring-projects/spring-ai/issues/209 to better understand the APIs of vector store providers. Ideally I would like a mechanism to pass vector store provider options to each implementation in a generic way so that casting to a subtype of VectorStore is not required. See the issue for more context.

Comment From: adambchouti

Makes perfect sense, gonna close this one. Thx a lot!

Comment From: tzolov

merged at 36278afdb31ab2a60f7374d5a69ac6c20706e1ae