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

[Feature] Add a file similar to .gitignore for LocalDocs #2628

Open
ejc opened this issue Jul 9, 2024 · 0 comments
Open

[Feature] Add a file similar to .gitignore for LocalDocs #2628

ejc opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ejc
Copy link

ejc commented Jul 9, 2024

Feature Request

Simple request. Using GPT4All on a code project, it would be nice if there was a way to easily have LocalDocs ignore files and folders that don't necessarily have to be ingested and embedded to be helpful. As and example, I'm building an electron app and the node_modules folder is about 15x the actual codebase.

I'm sure this would be helpful beyond code projects as well. A simple first implementation could be just if a .gitignore file is detected a little prompt "Should LocalDocs use the .gitignore file in this folder?" or even simpler, just a toggle switch that appears when a .gitignore is detected and is switched "on" by default.

Longer term you could introduce a .nomicignore file that could be added to non-code projects and allow the user to use a GUI to select which files and folders to ignore.

For now I'm duplicating my codebase and removing what I don't want indexed. Cheers to the team on a great product.

@ejc ejc added the enhancement New feature or request label Jul 9, 2024
@manyoso manyoso self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants