| Name | Type | Description |
|---|---|---|
path* | _PathLike | The path to the directory to load documents from OR the path to a single file to load. If this is a file, glob, exclude, suffixes will be ignored. |
glob | str | Default: '**/[!.]*'The glob pattern to use to find documents. |
suffixes | Optional[Sequence[str]] | Default: None |
exclude | Sequence[str] | Default: () |
show_progress | bool | Default: False |
parser | Union[DEFAULT, BaseBlobParser] | Default: 'default' |
parser_kwargs | Optional[dict] | Default: None |
Create a generic document loader using a filesystem blob loader.
The suffixes to use to filter documents. If None, all files matching the glob will be loaded.
A list of patterns to exclude from the loader.
Whether to show a progress bar or not (requires tqdm). Proxies to the file system loader.
A blob parser which knows how to parse blobs into documents,
will instantiate a default parser if not provided.
The default can be overridden by either passing a parser or
setting the class attribute blob_parser (the latter
should be used with inheritance).
Keyword arguments to pass to the parser.