def load_documents(
source_dir:str, # path to folder containing documents
ignored_files:List=[], # list of filepaths to ignore
ignore_fn:Optional=None, # callable that accepts file path and returns True for ignored files
caption_tables:bool=False, # If True, agument table text with summaries of tables if infer_table_structure is True.
extract_document_titles:bool=False, # If True, infer document title and attach to individual chunks
llm:NoneType=None, # a reference to the LLM (used by `caption_tables` and `extract_document_titles`
n_proc:Optional=None, # number of CPU cores to use for text extraction. If None, use maximum for system.
verbose:bool=True, # verbosity
preserve_paragraphs:bool=False, # This is not used here and is only included to mask it from being forwarded to `load_single_document`.
**kwargs
)->List: