How to get refreshed data in the in-memory vector store? #1776
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
What's interesting is that even if I delete the old file uploader node and replace it with a new file uploader node, select a new file and upload it, the in-memory database still persists with the old data. If I delete the old in-memory database node and put in a new one, it still has the in-memory database with the same old data. What does it mean to delete a flowise node? I'm imagining that changes the javascript code in the background. But then why would it still maintain the previous flow instead of being replaced with my new flow? |
Beta Was this translation helpful? Give feedback.
-
To reset a chat flow so you can feed it new data (as shown in the original question's picture) you need to: |
Beta Was this translation helpful? Give feedback.
-
To reset a chat flow so you can feed it new data (as shown in the original poster's picture) you need to do the following:
Then in the next chat, it will check it's cached chat history but it will be blank so then: the new data will flow from the file uploader, be embedded into the in-memory vector store, and the new data in the vector store will be used to pass along the top "winners" from the DB to the LLM and the chat agent will sort out what it wants to generate. Thank you to @flang-ls1 and @Jaredude for your suggestions as they led me to the answer. ![]() |
Beta Was this translation helpful? Give feedback.
To reset a chat flow so you can feed it new data (as shown in the original poster's picture) you need to do the following:
Then in the next chat, it will check it's cached chat history but it will be blank so then: the new data will flow from the file uploader, be embedded into the in-memory vector store, and the new data in the vector store will be used to pass along the top "winners" from the DB to the LLM and the chat agent will sort out …