mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
chore: fix example
Committing even though this is not the bug we were looking for
This commit is contained in:
parent
8cb9646a45
commit
9cd9a874f9
@ -7,13 +7,12 @@ from scrapegraphai.graphs import DepthSearchGraph
|
|||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
openai_key = os.getenv("OPENAI_APIKEY")
|
together_key = os.getenv("TOGETHER_APIKEY")
|
||||||
|
|
||||||
graph_config = {
|
graph_config = {
|
||||||
"llm": {
|
"llm": {
|
||||||
"api_key": "***************************",
|
"model": "togetherai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
||||||
"model": "oneapi/qwen-turbo",
|
"api_key": together_key,
|
||||||
"base_url": "http://127.0.0.1:3000/v1", # 设置 OneAPI URL
|
|
||||||
},
|
},
|
||||||
"verbose": True,
|
"verbose": True,
|
||||||
"headless": False,
|
"headless": False,
|
||||||
|
|||||||
@ -30,8 +30,6 @@ anyio==4.4.0
|
|||||||
astroid==3.2.4
|
astroid==3.2.4
|
||||||
# via pylint
|
# via pylint
|
||||||
async-timeout==4.0.3
|
async-timeout==4.0.3
|
||||||
# via aiohttp
|
|
||||||
# via langchain
|
|
||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
attrs==24.2.0
|
attrs==24.2.0
|
||||||
# via aiohttp
|
# via aiohttp
|
||||||
@ -80,9 +78,6 @@ distro==1.9.0
|
|||||||
# via openai
|
# via openai
|
||||||
docutils==0.19
|
docutils==0.19
|
||||||
# via sphinx
|
# via sphinx
|
||||||
exceptiongroup==1.2.2
|
|
||||||
# via anyio
|
|
||||||
# via pytest
|
|
||||||
fastapi==0.112.0
|
fastapi==0.112.0
|
||||||
# via burr
|
# via burr
|
||||||
fastapi-pagination==0.12.26
|
fastapi-pagination==0.12.26
|
||||||
@ -136,6 +131,7 @@ graphviz==0.20.3
|
|||||||
# via burr
|
# via burr
|
||||||
greenlet==3.0.3
|
greenlet==3.0.3
|
||||||
# via playwright
|
# via playwright
|
||||||
|
# via sqlalchemy
|
||||||
grpcio==1.65.4
|
grpcio==1.65.4
|
||||||
# via google-api-core
|
# via google-api-core
|
||||||
# via grpcio-status
|
# via grpcio-status
|
||||||
@ -504,9 +500,6 @@ tokenizers==0.19.1
|
|||||||
# via transformers
|
# via transformers
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
# via streamlit
|
# via streamlit
|
||||||
tomli==2.0.1
|
|
||||||
# via pylint
|
|
||||||
# via pytest
|
|
||||||
tomlkit==0.13.0
|
tomlkit==0.13.0
|
||||||
# via pylint
|
# via pylint
|
||||||
tornado==6.4.1
|
tornado==6.4.1
|
||||||
@ -524,8 +517,6 @@ transformers==4.44.2
|
|||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
typing-extensions==4.12.2
|
typing-extensions==4.12.2
|
||||||
# via altair
|
# via altair
|
||||||
# via anyio
|
|
||||||
# via astroid
|
|
||||||
# via fastapi
|
# via fastapi
|
||||||
# via fastapi-pagination
|
# via fastapi-pagination
|
||||||
# via google-generativeai
|
# via google-generativeai
|
||||||
@ -540,7 +531,6 @@ typing-extensions==4.12.2
|
|||||||
# via sqlalchemy
|
# via sqlalchemy
|
||||||
# via streamlit
|
# via streamlit
|
||||||
# via typing-inspect
|
# via typing-inspect
|
||||||
# via uvicorn
|
|
||||||
typing-inspect==0.9.0
|
typing-inspect==0.9.0
|
||||||
# via dataclasses-json
|
# via dataclasses-json
|
||||||
# via sf-hamilton
|
# via sf-hamilton
|
||||||
|
|||||||
@ -19,8 +19,6 @@ anyio==4.4.0
|
|||||||
# via httpx
|
# via httpx
|
||||||
# via openai
|
# via openai
|
||||||
async-timeout==4.0.3
|
async-timeout==4.0.3
|
||||||
# via aiohttp
|
|
||||||
# via langchain
|
|
||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
attrs==23.2.0
|
attrs==23.2.0
|
||||||
# via aiohttp
|
# via aiohttp
|
||||||
@ -50,8 +48,6 @@ dill==0.3.8
|
|||||||
# via multiprocess
|
# via multiprocess
|
||||||
distro==1.9.0
|
distro==1.9.0
|
||||||
# via openai
|
# via openai
|
||||||
exceptiongroup==1.2.2
|
|
||||||
# via anyio
|
|
||||||
fastembed==0.3.6
|
fastembed==0.3.6
|
||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
filelock==3.15.4
|
filelock==3.15.4
|
||||||
@ -91,6 +87,7 @@ googlesearch-python==1.2.5
|
|||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
greenlet==3.0.3
|
greenlet==3.0.3
|
||||||
# via playwright
|
# via playwright
|
||||||
|
# via sqlalchemy
|
||||||
grpcio==1.65.1
|
grpcio==1.65.1
|
||||||
# via google-api-core
|
# via google-api-core
|
||||||
# via grpcio-status
|
# via grpcio-status
|
||||||
@ -371,7 +368,6 @@ tqdm==4.66.4
|
|||||||
transformers==4.44.2
|
transformers==4.44.2
|
||||||
# via scrapegraphai
|
# via scrapegraphai
|
||||||
typing-extensions==4.12.2
|
typing-extensions==4.12.2
|
||||||
# via anyio
|
|
||||||
# via google-generativeai
|
# via google-generativeai
|
||||||
# via huggingface-hub
|
# via huggingface-hub
|
||||||
# via langchain-core
|
# via langchain-core
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user