Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Merge branch 'main' of https://github.com/VinciGit00/Scrapegraph-ai
VinciGit000bb68d1500bc
diff --git a/examples/local_models/README.md b/examples/local_models/README.mddeleted file mode 100644index e69de29b..00000000diff --git a/examples/local_models/Ollama/csv_scraper_ollama.py b/examples/local_models/csv_scraper_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/csv_scraper_ollama.pyrename to examples/local_models/csv_scraper_ollama.pydiff --git a/examples/local_models/Ollama/inputs/books.xml b/examples/local_models/inputs/books.xmlsimilarity index 100%rename from examples/local_models/Ollama/inputs/books.xmlrename to examples/local_models/inputs/books.xmldiff --git a/examples/local_models/Ollama/inputs/example.json b/examples/local_models/inputs/example.jsonsimilarity index 100%rename from examples/local_models/Ollama/inputs/example.jsonrename to examples/local_models/inputs/example.jsondiff --git a/examples/local_models/Ollama/inputs/plain_html_example.txt b/examples/local_models/inputs/plain_html_example.txtsimilarity index 100%rename from examples/local_models/Ollama/inputs/plain_html_example.txtrename to examples/local_models/inputs/plain_html_example.txtdiff --git a/examples/local_models/Ollama/inputs/username.csv b/examples/local_models/inputs/username.csvsimilarity index 100%rename from examples/local_models/Ollama/inputs/username.csvrename to examples/local_models/inputs/username.csvdiff --git a/examples/local_models/Ollama/json_scraper_ollama.py b/examples/local_models/json_scraper_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/json_scraper_ollama.pyrename to examples/local_models/json_scraper_ollama.pydiff --git a/examples/local_models/Ollama/scrape_plain_text_ollama.py b/examples/local_models/scrape_plain_text_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/scrape_plain_text_ollama.pyrename to examples/local_models/scrape_plain_text_ollama.pydiff --git a/examples/local_models/Ollama/scrape_xml_ollama.py b/examples/local_models/scrape_xml_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/scrape_xml_ollama.pyrename to examples/local_models/scrape_xml_ollama.pydiff --git a/examples/local_models/Ollama/script_generator_ollama.py b/examples/local_models/script_generator_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/script_generator_ollama.pyrename to examples/local_models/script_generator_ollama.pydiff --git a/examples/local_models/Ollama/search_graph_ollama.py b/examples/local_models/search_graph_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/search_graph_ollama.pyrename to examples/local_models/search_graph_ollama.pydiff --git a/examples/local_models/Ollama/smart_scraper_ollama.py b/examples/local_models/smart_scraper_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/smart_scraper_ollama.pyrename to examples/local_models/smart_scraper_ollama.pydiff --git a/examples/local_models/Ollama/xml_scraper_ollama.py b/examples/local_models/xml_scraper_ollama.pysimilarity index 100%rename from examples/local_models/Ollama/xml_scraper_ollama.pyrename to examples/local_models/xml_scraper_ollama.pydiff --git a/scrapegraphai/graphs/abstract_graph.py b/scrapegraphai/graphs/abstract_graph.pyindex b015907c..3f9eee24 100644--- a/scrapegraphai/graphs/abstract_graph.py+++ b/scrapegraphai/graphs/abstract_graph.py@@ -7,6 +7,7 @@ from langchain_openai import AzureOpenAIEmbeddings, OpenAIEmbeddingsfrom langchain_community.embeddings import HuggingFaceHubEmbeddings, OllamaEmbeddingsfrom ..helpers import models_tokensfrom ..models import AzureOpenAI, Bedrock, Gemini, Groq, HuggingFace, Ollama, OpenAI, Anthropic+from langchain_google_genai.embeddings import GoogleGenerativeAIEmbeddingsclass AbstractGraph(ABC):