mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
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:
parent
6182a402f1
commit
1c65529fd7
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user