Skip to content

RAGTool does not update deleted files from cached storage #261

@BrandonwLii

Description

@BrandonwLii

Whenever RAGTool is initialized, it searches through all the files matching index_path and indexes them. Files that were indexed from a previous initialization and are unchanged are skipped, which improves performance. However, RAGTool does not check for files that have been deleted between initializations, and they remain in the index. This behavior can be confusing, as RAGTool is expected to have the current files in the index whenever initialized.

This is probably best implemented through an optional parameter remove_deleted_files = True.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions