Skip to content

The agent engineering platform.

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

Rajendra Kadam1c65529fd786
diff --git a/libs/community/langchain_community/utilities/pebblo.py b/libs/community/langchain_community/utilities/pebblo.py
index 377155c71f..a9bbb47241 100644
--- a/libs/community/langchain_community/utilities/pebblo.py
+++ b/libs/community/langchain_community/utilities/pebblo.py
@@ -45,16 +45,17 @@ dir_loader = [
]
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)