Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
changed documentation + fixed a typo for the path
VinciGit00ff2203355808
diff --git a/README.md b/README.mdindex c1c05120..f61350db 100644--- a/README.md+++ b/README.md@@ -14,26 +14,32 @@ Try out YOSO-ai in your browser:Follow the following steps:-1. ```bash- git clone https://github.com/VinciGit00/yoso-ai.git- ```+1.++```bash+git clone https://github.com/VinciGit00/yoso-ai.git+```+2. (Optional)- ```bash- python -m venv venv- source ./venv/bin/activate- ```++```bash+python -m venv venv+source ./venv/bin/activate+```+3. ```bashpip install -r requirements.txt# if you want to install it as a librarypip install .-+# or if you plan on developing new features it is best to also install the extra dependencies using-+pip install -r requirements-dev.txt# if you want to install it as a librarypip install .[dev]```-4. Create your personal OpenAI API key from [here](https://platform.openai.com/api-keys)++4. Create your personal OpenAI API key from [here](https://platform.openai.com/api-keys)5. (Optional) Create a .env file inside the main and paste the API key```config@@ -186,6 +192,7 @@ The oputput format is a dict and its the following:```# Developed by+<p align="center"><a href="https://vincigit00.github.io/"><img src="docs/assets/logo_vincios.png" alt="Vincios Logo" style="width: 30%;">@@ -197,11 +204,3 @@ The oputput format is a dict and its the following:<img src="docs/assets/logo_perinilab.png" alt="PeriniLab Logo" style="width: 30%;"></a></p>--------diff --git a/SECURITY.md b/SECURITY.mdindex 034e8480..36eb39b9 100644--- a/SECURITY.md+++ b/SECURITY.md@@ -1,21 +1,5 @@# Security Policy-## Supported Versions--Use this section to tell people about which versions of your project are-currently being supported with security updates.--| Version | Supported |-| ------- | ------------------ |-| 5.1.x | :white_check_mark: |-| 5.0.x | :x: |-| 4.0.x | :white_check_mark: |-| < 4.0 | :x: |-## Reporting a Vulnerability-Use this section to tell people how to report a vulnerability.--Tell them where to go, how often they can expect to get an update on a-reported vulnerability, what to expect if the vulnerability is accepted or-declined, etc.+For reporting a vulnerability contact directly [email protected]diff --git a/docs/assets/logo_vincios.png b/docs/assets/logo_vincios.pngindex 8e0fbec2..a51605fc 100644Binary files a/docs/assets/logo_vincios.png and b/docs/assets/logo_vincios.png differdiff --git a/yosoai/class_creator.py b/yosoai/class_creator.pyindex 34146044..c183d964 100644--- a/yosoai/class_creator.py+++ b/yosoai/class_creator.py@@ -22,5 +22,5 @@ class _Response(BaseModel):for elem in data_dict:base_script = base_script + f" {elem['title']}: {elem['type']} = Field(description='{elem['description']}')\n"- with open("./pydantic_class.py", "w") as f:+ with open("./yosoai/pydantic_class.py", "w") as f:f.write(base_script)\ No newline at end of filediff --git a/yosoai/pydantic_class.py b/yosoai/pydantic_class.pyindex b04a1658..6a6d72a1 100644--- a/yosoai/pydantic_class.py+++ b/yosoai/pydantic_class.py@@ -1,4 +1,5 @@+from langchain_core.pydantic_v1 import BaseModel, Fieldclass _Response(BaseModel):- title_news: str = Field(description='Give me the name of the news')+ title_news: str = Field(description='Give me the name of the news')