Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add include patterns for RAG file filtering #162

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

kevin-on
Copy link
Collaborator

No description provided.

@kevin-on kevin-on linked an issue Dec 12, 2024 that may be closed by this pull request
Comment on lines 498 to 502
new Setting(containerEl)
.setName('Include patterns')
.setDesc(
'If any patterns are specified, ONLY files matching at least one pattern will be included in indexing. One pattern per line. Uses glob patterns (e.g., "notes/*", "*.md"). Leave empty to include all files not excluded by exclude patterns. After changing this, use the command "Rebuild entire vault index" to apply changes.',
)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to have include option first before exclude option because it feels more natural to think in order of "what to include" then "what to remove from included items

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

@glowingjade glowingjade merged commit 74c28da into main Dec 13, 2024
1 check passed
@glowingjade glowingjade deleted the feat/rag-include-patterns branch December 13, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Add include patterns for RAG
2 participants