Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
docs(refactor): changed example
Marco Perinic7ec114274da
diff --git a/examples/openai/search_graph_openai.py b/examples/openai/search_graph_openai.pyindex fa4ea60e..9d23ac3b 100644--- a/examples/openai/search_graph_openai.py+++ b/examples/openai/search_graph_openai.py@@ -17,7 +17,7 @@ openai_key = os.getenv("OPENAI_APIKEY")graph_config = {"llm": {"api_key": openai_key,- "model": "gpt-4-turbo",+ "model": "gpt-3.5-turbo",},"max_results": 2,"verbose": True,@@ -28,7 +28,7 @@ graph_config = {# ************************************************search_graph = SearchGraph(- prompt="List me the heir of the British throne.",+ prompt="List me the Chioggia typical dishes",config=graph_config)diff --git a/examples/openai/smart_scraper_openai.py b/examples/openai/smart_scraper_openai.pyindex 444890f1..01448a5b 100644--- a/examples/openai/smart_scraper_openai.py+++ b/examples/openai/smart_scraper_openai.py@@ -30,7 +30,7 @@ graph_config = {# ************************************************smart_scraper_graph = SmartScraperGraph(- prompt="List me all the links in the page",+ prompt="List me all the projects with their description.",# also accepts a string with the already downloaded HTML codesource="https://perinim.github.io/projects/",config=graph_config