Skip to content

Python scraper based on AI

Update smart_scraper_gemini.py

VinciGit004ef1564e189a
diff --git a/examples/gemini/smart_scraper_gemini.py b/examples/gemini/smart_scraper_gemini.py
index 58f3788d..772d283a 100644
--- a/examples/gemini/smart_scraper_gemini.py
+++ b/examples/gemini/smart_scraper_gemini.py
@@ -12,11 +12,11 @@ load_dotenv()
# Define the configuration for the graph
# ************************************************
-openai_key = os.getenv("OPENAI_APIKEY")
+gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
- "api_key": openai_key,
+ "api_key": gemini_key,
"model": "gpt-3.5-turbo",
},
}