[Docs] Add back sitemap loader docstring (#947)
This commit is contained in:
@@ -20,6 +20,12 @@ from embedchain.utils import is_readable
|
|||||||
|
|
||||||
@register_deserializable
|
@register_deserializable
|
||||||
class SitemapLoader(BaseLoader):
|
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):
|
def load_data(self, sitemap_url):
|
||||||
output = []
|
output = []
|
||||||
web_page_loader = WebPageLoader()
|
web_page_loader = WebPageLoader()
|
||||||
|
|||||||
Reference in New Issue
Block a user