Add file filter param to Git loader (#2904)

Allows users to specify what files should be loaded instead of
indiscriminately loading the entire repo.

extends #2851 

NOTE: for reviewers, `hide whitespace` option recommended since I
changed the indentation of an if-block to use `continue` instead so it
looks less like a Christmas tree :)
This commit is contained in:
Kwuang Tang
2023-04-14 13:45:54 -04:00
committed by GitHub
parent 7e525a3b91
commit a508afa91c
3 changed files with 65 additions and 47 deletions
Submodule docs/modules/indexes/document_loaders/examples/example_data/test_repo1 added at 7e525a3b91