Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

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

Deshraj Yadavd839991acb63
diff --git a/embedchain/loaders/sitemap.py b/embedchain/loaders/sitemap.py
index 7a7561578..29638b0c8 100644
--- a/embedchain/loaders/sitemap.py
+++ b/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()