My current RAG flow is:
-
Upload files to Google Drive
-
n8n downloads → chunks/embeds → upserts to Pinecone
-
Chatbot queries Pinecone
But what’s the best way to handle deletes/updates?
-
If a file on Drive is deleted, how do I remove its vectors from Pinecone?
-
If a file is updated, should I delete old vectors first, then re-embed?
-
Do I need to wipe and rebuild the whole index/namespace every time there’s a change, or is there a better pattern?
Any examples or node setups in n8n would help a lot. Thanks!
moosa
2
One solution could be this.
or you can try using supabase:
system
Closed
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.