This commit is contained in:
VinciGit00 2024-05-15 15:10:53 +02:00
commit 694d3ab0f3
5 changed files with 14 additions and 6 deletions

2
.gitignore vendored
View File

@ -31,4 +31,6 @@ examples/graph_examples/ScrapeGraphAI_generated_graph
examples/**/result.csv
examples/**/result.json
main.py
*.python-version
*.lock

View File

@ -1,3 +1,10 @@
## [1.0.1](https://github.com/VinciGit00/Scrapegraph-ai/compare/v1.0.0...v1.0.1) (2024-05-15)
### Bug Fixes
* **searchgraph:** used shallow copy to serialize obj ([096b665](https://github.com/VinciGit00/Scrapegraph-ai/commit/096b665c0152593c19402e555c0850cdd3b2a2c0))
## [1.0.0](https://github.com/VinciGit00/Scrapegraph-ai/compare/v0.11.1...v1.0.0) (2024-05-15)

View File

@ -1,7 +1,7 @@
[project]
name = "scrapegraphai"
version = "1.0.0"
version = "1.0.1"
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
authors = [
@ -10,7 +10,6 @@ authors = [
{ name = "Lorenzo Padoan", email = "lorenzo.padoan977@gmail.com" }
]
dependencies = [
# python = ">=3.9, <3.12"
"langchain==0.1.15",
"langchain-openai==0.1.6",
"langchain-google-genai==1.0.3",

View File

@ -2,7 +2,7 @@
OmniSearchGraph Module
"""
from copy import deepcopy
from copy import copy
from .base_graph import BaseGraph
from ..nodes import (
@ -43,7 +43,7 @@ class OmniSearchGraph(AbstractGraph):
def __init__(self, prompt: str, config: dict):
self.max_results = config.get("max_results", 3)
self.copy_config = deepcopy(config)
self.copy_config = copy(config)
super().__init__(prompt, config)

View File

@ -2,7 +2,7 @@
SearchGraph Module
"""
from copy import deepcopy
from copy import copy
from .base_graph import BaseGraph
from ..nodes import (
@ -42,7 +42,7 @@ class SearchGraph(AbstractGraph):
def __init__(self, prompt: str, config: dict):
self.max_results = config.get("max_results", 3)
self.copy_config = deepcopy(config)
self.copy_config = copy(config)
super().__init__(prompt, config)