Skip to content

RAGTool should be able to use recursive index paths. #258

@BrandonwLii

Description

@BrandonwLii

index_paths currently uses glob.glob() to find all matching patterns, but does not include support for recursive searching (searching all subdirectories). This can be easily implemented with the recursive parameter for glob.glob().

glob.glob() Documentation

If recursive is true, the pattern “**” will match any files and zero or more directories, subdirectories and symbolic links to directories. If the pattern is followed by an os.sep or os.altsep then files will not match.

I can take this issue. Should recursive be a parameter passed into RAGTool? Users might expect "/**/" patterns to work by default.

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