You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, you can do that with the following methods available within RAGApplication
deleteEmbeddingsFromLoader(uniqueLoaderId, true) - this can be used to remove the embeddings from a single loader
deleteAllEmbeddings(true) - this will remove all the embeddings from all loaders
The parameter true is constant and is used to ensure you really mean to delete the embeddings. Not passing it or passing false would print a console warning without deleting the embeddings.
Yes. Once you get an instance of ragapplcation, you can call the addLoader method on it at any time to add a new loader. In fact, I would recommend you add all loaders dynamically after build.
If I want to clear out everything and rebuild all the embeddings what is the best approach?
For example a website may change over time and you may want to clear out the website embeddings or the entire thing and rebuild it weekly, monthly etc
The text was updated successfully, but these errors were encountered: