Skip to content

Commit

Permalink
community[minor]: [PebbloSafeLoader] Rename loader type and add Share…
Browse files Browse the repository at this point in the history
…PointLoader 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
  • Loading branch information
Raj725 authored Jul 18, 2024
1 parent 6182a40 commit 1c65529
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/community/langchain_community/utilities/pebblo.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,17 @@
]

in_memory = ["DataFrameLoader"]
remote_db = [
cloud_folder = [
"NotionDBLoader",
"GoogleDriveLoader",
"SharePointLoader",
]

LOADER_TYPE_MAPPING = {
"file": file_loader,
"dir": dir_loader,
"in-memory": in_memory,
"remote_db": remote_db,
"cloud-folder": cloud_folder,
}

SUPPORTED_LOADERS = (*file_loader, *dir_loader, *in_memory)
Expand Down

0 comments on commit 1c65529

Please sign in to comment.