Skip to content

Commit 9483afd

Browse files
committed
revert
1 parent f36b3e3 commit 9483afd

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.14
1+
3.9.19

examples/openai/deep_scraper_openai.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
graph_config = {
2020
"llm": {
2121
"api_key": openai_key,
22-
"model": "gpt-3.5-turbo",
22+
"model": "gpt-4",
2323
},
2424
"verbose": True,
2525
"max_depth": 1
@@ -30,9 +30,9 @@
3030
# ************************************************
3131

3232
deep_scraper_graph = DeepScraperGraph(
33-
prompt="List me all the contacts",
33+
prompt="List me all the job titles and detailed job description.",
3434
# also accepts a string with the already downloaded HTML code
35-
source="https://www.uber.com/us/en/careers/list/?query=",
35+
source="https://www.google.com/about/careers/applications/jobs/results/?location=Bangalore%20India",
3636
config=graph_config
3737
)
3838

requirements-dev.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ graphviz==0.20.3
9393
# via scrapegraphai
9494
greenlet==3.0.3
9595
# via playwright
96+
# via sqlalchemy
9697
groq==0.5.0
9798
# via langchain-groq
9899
grpcio==1.63.0

requirements.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ graphviz==0.20.3
9292
# via scrapegraphai
9393
greenlet==3.0.3
9494
# via playwright
95+
# via sqlalchemy
9596
groq==0.5.0
9697
# via langchain-groq
9798
grpcio==1.63.0

scrapegraphai/graphs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from .pdf_scraper_graph import PDFScraperGraph
1616
from .omni_scraper_graph import OmniScraperGraph
1717
from .omni_search_graph import OmniSearchGraph
18-
#from .turbo_scraper import TurboScraperGraph
18+
from .turbo_scraper import TurboScraperGraph

scrapegraphai/nodes/search_link_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ def execute(self, state: dict) -> dict:
103103
answer = merge_chain.invoke(
104104
{"content": chunk.page_content, "user_prompt": user_prompt})
105105
relevant_links += answer
106-
state.update({self.output[0]: list(set(relevant_links))})
106+
state.update({self.output[0]: relevant_links})
107107
return state

0 commit comments

Comments
 (0)