Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
removed unused models
Marco Vinciguerra5007167af1cb
diff --git a/scrapegraphai/models/__init__.py b/scrapegraphai/models/__init__.pyindex 81bceeb8..9d27884b 100644--- a/scrapegraphai/models/__init__.py+++ b/scrapegraphai/models/__init__.py@@ -1,17 +1,8 @@"""__init__.py file for models folder"""--from .azure_openai import AzureOpenAIfrom .openai_itt import OpenAIImageToTextfrom .openai_tts import OpenAITextToSpeech-from .gemini import Gemini-from .hugging_face import HuggingFace-from .groq import Groq-from .bedrock import Bedrock-from .anthropic import Anthropicfrom .deepseek import DeepSeekfrom .oneapi import OneApi-from .fireworks import Fireworks-from .vertex import VertexAIfrom .nvidia import Nvidiadiff --git a/scrapegraphai/models/anthropic.py b/scrapegraphai/models/anthropic.pydeleted file mode 100644index 3a7480d0..00000000--- a/scrapegraphai/models/anthropic.py+++ /dev/null@@ -1,17 +0,0 @@-"""-Anthropic Module-"""-from langchain_anthropic import ChatAnthropic---class Anthropic(ChatAnthropic):- """- A wrapper for the ChatAnthropic class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model.- """-- def __init__(self, llm_config: dict):- super().__init__(**llm_config)\ No newline at end of filediff --git a/scrapegraphai/models/azure_openai.py b/scrapegraphai/models/azure_openai.pydeleted file mode 100644index ae47d4e6..00000000--- a/scrapegraphai/models/azure_openai.py+++ /dev/null@@ -1,17 +0,0 @@-"""-AzureOpenAI Module-"""-from langchain_openai import AzureChatOpenAI---class AzureOpenAI(AzureChatOpenAI):- """- A wrapper for the AzureChatOpenAI class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model.- """-- def __init__(self, llm_config: dict):- super().__init__(**llm_config)diff --git a/scrapegraphai/models/bedrock.py b/scrapegraphai/models/bedrock.pydeleted file mode 100644index 06299075..00000000--- a/scrapegraphai/models/bedrock.py+++ /dev/null@@ -1,19 +0,0 @@-"""-Bedrock Module-"""-from langchain_aws import ChatBedrock---class Bedrock(ChatBedrock):- """Class for wrapping bedrock module"""-- def __init__(self, llm_config: dict):- """- A wrapper for the ChatBedrock class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model.- """- # Initialize the superclass (ChatBedrock) with provided config parameters- super().__init__(**llm_config)diff --git a/scrapegraphai/models/fireworks.py b/scrapegraphai/models/fireworks.pydeleted file mode 100644index 445c4846..00000000--- a/scrapegraphai/models/fireworks.py+++ /dev/null@@ -1,33 +0,0 @@-"""-Fireworks Module-"""-from langchain_fireworks import ChatFireworks---class Fireworks(ChatFireworks):- """- Initializes the Fireworks class.-- Args:- llm_config (dict): A dictionary containing configuration parameters for the LLM (required).- The specific keys and values will depend on the LLM implementation- used by the underlying `ChatFireworks` class. Consult its documentation- for details.-- Raises:- ValueError: If required keys are missing from the llm_config dictionary.- """-- def __init__(self, llm_config: dict):- """- Initializes the Fireworks class.-- Args:- llm_config (dict): A dictionary containing configuration parameters for the LLM.- The specific keys and values will depend on the LLM implementation.-- Raises:- ValueError: If required keys are missing from the llm_config dictionary.- """-- super().__init__(**llm_config)diff --git a/scrapegraphai/models/gemini.py b/scrapegraphai/models/gemini.pydeleted file mode 100644index 1c939c6c..00000000--- a/scrapegraphai/models/gemini.py+++ /dev/null@@ -1,20 +0,0 @@-"""-Gemini Module-"""-from langchain_google_genai import ChatGoogleGenerativeAI---class Gemini(ChatGoogleGenerativeAI):- """- A wrapper for the Gemini class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model- (e.g., model="gemini-pro")- """-- def __init__(self, llm_config: dict):- # replace "api_key" to "google_api_key"- llm_config["google_api_key"] = llm_config.pop("api_key", None)- super().__init__(**llm_config)diff --git a/scrapegraphai/models/groq.py b/scrapegraphai/models/groq.pydeleted file mode 100644index 755f50aa..00000000--- a/scrapegraphai/models/groq.py+++ /dev/null@@ -1,17 +0,0 @@-"""-Groq Module-"""--from langchain_groq import ChatGroq--class Groq(ChatGroq):- """- A wrapper for the Groq class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model (e.g., model="llama3-70b-8192")- """-- def __init__(self, llm_config: dict):- super().__init__(**llm_config)\ No newline at end of filediff --git a/scrapegraphai/models/hugging_face.py b/scrapegraphai/models/hugging_face.pydeleted file mode 100644index 9696db1e..00000000--- a/scrapegraphai/models/hugging_face.py+++ /dev/null@@ -1,17 +0,0 @@-"""-HuggingFace Module-"""-from langchain_community.chat_models.huggingface import ChatHuggingFace---class HuggingFace(ChatHuggingFace):- """- A wrapper for the HuggingFace class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model.- """-- def __init__(self, llm_config: dict):- super().__init__(**llm_config)diff --git a/scrapegraphai/models/vertex.py b/scrapegraphai/models/vertex.pydeleted file mode 100644index eb4676fc..00000000--- a/scrapegraphai/models/vertex.py+++ /dev/null@@ -1,16 +0,0 @@-"""-VertexAI Module-"""-from langchain_google_vertexai import ChatVertexAI--class VertexAI(ChatVertexAI):- """- A wrapper for the ChatVertexAI class that provides default configuration- and could be extended with additional methods if needed.-- Args:- llm_config (dict): Configuration parameters for the language model.- """-- def __init__(self, llm_config: dict):- super().__init__(**llm_config)