How to properly re-embed a vector database? or provide document context to AI?
I'm trying to build as AI-assisted document editor. One component would be an AI chat that references the updated content of the editor. I've done some research and believe using a vector db is the best industry standard solution for this, but am stuck on how I would re-embed or update the vectors to reference the most recent state of the editor? Is there another method that is simpler that can achieve this same result. I essentially do not want to constantly need to provide the full document content every time I make a query and only update the changes but make sure it has full context of the document similar to ChatGPT. Thanks.