mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-23 21:00:30 +08:00
Merge branch 'main' of https://github.com/VinciGit00/Scrapegraph-ai
This commit is contained in:
commit
694d3ab0f3
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,4 +31,6 @@ examples/graph_examples/ScrapeGraphAI_generated_graph
|
||||
examples/**/result.csv
|
||||
examples/**/result.json
|
||||
main.py
|
||||
*.python-version
|
||||
*.lock
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user