浏览代码

[Docs] Add back sitemap loader docstring (#947)

Deshraj Yadav 1 年之前
父节点
当前提交
d839991acb
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      embedchain/loaders/sitemap.py

+ 6 - 0
embedchain/loaders/sitemap.py

@@ -20,6 +20,12 @@ from embedchain.utils import is_readable
 
 @register_deserializable
 class SitemapLoader(BaseLoader):
+    """
+    This method takes a sitemap URL as input and retrieves
+    all the URLs to use the WebPageLoader to load content
+    of each page.
+    """
+
     def load_data(self, sitemap_url):
         output = []
         web_page_loader = WebPageLoader()