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
The issue of the samples directory being included in the vector database even after deletion might be related to the caching mechanism in the Langchain-Chatchat system. The system uses a caching mechanism that might retain data from deleted directories if the cache is not properly cleared. The CachePool class manages cached objects, and if the cache is not refreshed, it might still process data from deleted directories [1][2].
Additionally, the prune_db_docs function is designed to delete documents in the database that no longer exist in the local folder. If this function is not executed or if the cache is not refreshed, deleted directories might still be processed [3].
Ensure that the cache is cleared and the prune_db_docs function is invoked to synchronize the database with the current state of the filesystem.
samples 目录删除后还是会被加入向量库, 为什么?
The text was updated successfully, but these errors were encountered: