download_loader(..., refresh_cache=True)
SimpleDirectoryReader = download_loader("SimpleDirectoryReader", refresh_cache=True) loader = SimpleDirectoryReader(doc_path, recursive=True, exclude_hidden=True) documents = loader.load_data()
from llama_index import SimpleDirectoryReader