Skip to content

Python scraper based on AI

WIP

Stefan Krawczykd94195f82319
diff --git a/scrapegraphai/graphs/smart_scraper.png b/scrapegraphai/graphs/smart_scraper.png
index 7c2822f7..c53305e0 100644
Binary files a/scrapegraphai/graphs/smart_scraper.png and b/scrapegraphai/graphs/smart_scraper.png differ
diff --git a/scrapegraphai/graphs/smart_scraper_graph_hamilton.py b/scrapegraphai/graphs/smart_scraper_graph_hamilton.py
index ee3bdd88..8a4f8e10 100644
--- a/scrapegraphai/graphs/smart_scraper_graph_hamilton.py
+++ b/scrapegraphai/graphs/smart_scraper_graph_hamilton.py
@@ -35,10 +35,10 @@ def parse_node(fetch_node: Document, chunk_size: int) -> list[Document]:
pass
-def rag_node(parse_node: list[Document]) -> list[Document]:
+def rag_node(parse_node: list[Document], llm_model: object, embedder_model: object) -> list[Document]:
pass
-def generate_answer_node(rag_node: list[Document]) -> str:
+def generate_answer_node(rag_node: list[Document], llm_model: object) -> str:
pass