Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
refactoring
VinciGit009d6fcf7882fa
diff --git a/scrapegraphai/builders/graph_builder.py b/scrapegraphai/builders/graph_builder.pyindex efea33e9..1da4c928 100644--- a/scrapegraphai/builders/graph_builder.py+++ b/scrapegraphai/builders/graph_builder.py@@ -66,10 +66,8 @@ class GraphBuilder:}# Update defaults with any LLM parameters that were providedllm_params = {**llm_defaults, **self.llm_config}- # Ensure the api_key is set, raise an error if it's notif "api_key" not in llm_params:raise ValueError("LLM configuration must include an 'api_key'.")- # Create the OpenAI instance with the provided and default parametersreturn OpenAI(llm_params)def _generate_nodes_description(self):