Closed
Description
I tried running below code but got an IndexError: list index out of range
graph_config = {
"llm": {
"api_key": "YOUR_GEMINI_APIKEY",
"model": "gemini-1.5-pro",
},
"verbose": True,
"headless": False,
}
# Create the SmartScraperGraph instance
smart_scraper_graph = SmartScraperGraph(
prompt="Find some information about what does the company do, the name and a contact email.",
source="https://scrapegraphai.com/",
config=graph_config
)
# Run the pipeline
result = smart_scraper_graph.run()
I also tried changing the model gemini-pro
.