community[minor]: [PebbloSafeLoader] Rename loader type and add SharePointLoader to supported loaders (#24393)

Thank you for contributing to LangChain!

- [x] **PR title**: [PebbloSafeLoader] Rename loader type and add
SharePointLoader to supported loaders
    - **Description:** Minor fixes in the PebbloSafeLoader:
        - Renamed the loader type from `remote_db` to `cloud_folder`.
- Added `SharePointLoader` to the list of loaders supported by
PebbloSafeLoader.
    - **Issue:** NA
    - **Dependencies:** NA
- [x] **Add tests and docs**: NA
This commit is contained in:
Rajendra Kadam 2024-07-18 17:53:12 +05:30 committed by GitHub
parent 6182a402f1
commit 1c65529fd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,16 +45,17 @@ dir_loader = [
] ]
in_memory = ["DataFrameLoader"] in_memory = ["DataFrameLoader"]
remote_db = [ cloud_folder = [
"NotionDBLoader", "NotionDBLoader",
"GoogleDriveLoader", "GoogleDriveLoader",
"SharePointLoader",
] ]
LOADER_TYPE_MAPPING = { LOADER_TYPE_MAPPING = {
"file": file_loader, "file": file_loader,
"dir": dir_loader, "dir": dir_loader,
"in-memory": in_memory, "in-memory": in_memory,
"remote_db": remote_db, "cloud-folder": cloud_folder,
} }
SUPPORTED_LOADERS = (*file_loader, *dir_loader, *in_memory) SUPPORTED_LOADERS = (*file_loader, *dir_loader, *in_memory)