Merge pull request #1 from derluke/main

Make it easier to load folders by ignoring any errors
main
Gustav von Zitzewitz 1 year ago committed by GitHub
commit 366abf889d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,7 @@ def load_any_data_source(data_source):
loader = None
if is_dir:
loader = DirectoryLoader(data_source, recursive=True)
loader = DirectoryLoader(data_source, recursive=True, silent_errors=True)
if is_git:
return load_git(data_source)
if is_web:

Loading…
Cancel
Save