Skip to content

Commit 974f88a

Browse files
committed
rename SmartScraperMultiGraph to SmartScraperMultiLiteGraph
1 parent 6dbac93 commit 974f88a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scrapegraphai/graphs/smart_scraper_multi_graph.py renamed to scrapegraphai/graphs/smart_scraper_multi_lite_graph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
)
1414
from ..utils.copy import safe_deepcopy
1515

16-
class SmartScraperMultiGraph(AbstractGraph):
16+
class SmartScraperMultiLiteGraph(AbstractGraph):
1717
"""
18-
SmartScraperMultiGraph is a scraping pipeline that scrapes a
18+
SmartScraperMultiLiteGraph is a scraping pipeline that scrapes a
1919
list of URLs and merge the content first and finally generates answers to a given prompt.
2020
It only requires a user prompt and a list of URLs.
2121
The difference with the SmartScraperMultiGraph is that in this case the content is merged
@@ -36,15 +36,15 @@ class SmartScraperMultiGraph(AbstractGraph):
3636
schema (Optional[BaseModel]): The schema for the graph output.
3737
3838
Example:
39-
>>> smart_scraper_multi_graph = SmartScraperMultiGraph(
39+
>>> smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(
4040
... prompt="Who is Marco Perini?",
4141
... source= [
4242
... "https://perinim.github.io/",
4343
... "https://perinim.github.io/cv/"
4444
... ],
4545
... config={"llm": {"model": "openai/gpt-3.5-turbo"}}
4646
... )
47-
>>> result = smart_scraper_multi_graph.run()
47+
>>> result = smart_scraper_multi_lite_graph.run()
4848
"""
4949

5050
def __init__(self, prompt: str, source: List[str],

0 commit comments

Comments
 (0)