Skip to content

feat: Knowledge filters #2526

@kaiz-io

Description

@kaiz-io

The knowledge feature needs to have a way to when adding and updating to allow different file type and path filters.

Say when adding a projects in particular ts project it will add all of the node_modules directory. A filter for just ts and md would or excluding a path be nice to not add just my code into the knowledge without adding all the js.

Same goes for just adding the .md for large code bases. I may want to just grab the "docs" from a 3rd project to add without pulling in the code base. Helps when projects have nice documentation throughout the project.

I would like something like

/knowledge add ./ --include **/*.ts --include **/*.md

/knowledge add ./ --exclude node_modules/**

Metadata

Metadata

Assignees

No one assigned

    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