chore: fix example

Committing even though this is not the bug we were looking for
This commit is contained in:
Federico Aguzzi 2024-10-18 22:34:42 +02:00
parent 8cb9646a45
commit 9cd9a874f9
3 changed files with 5 additions and 20 deletions

View File

@ -7,13 +7,12 @@ from scrapegraphai.graphs import DepthSearchGraph
load_dotenv()
openai_key = os.getenv("OPENAI_APIKEY")
together_key = os.getenv("TOGETHER_APIKEY")
graph_config = {
"llm": {
"api_key": "***************************",
"model": "oneapi/qwen-turbo",
"base_url": "http://127.0.0.1:3000/v1", # 设置 OneAPI URL
"model": "togetherai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
"api_key": together_key,
},
"verbose": True,
"headless": False,

View File

@ -30,8 +30,6 @@ anyio==4.4.0
astroid==3.2.4
# via pylint
async-timeout==4.0.3
# via aiohttp
# via langchain
# via scrapegraphai
attrs==24.2.0
# via aiohttp
@ -80,9 +78,6 @@ distro==1.9.0
# via openai
docutils==0.19
# via sphinx
exceptiongroup==1.2.2
# via anyio
# via pytest
fastapi==0.112.0
# via burr
fastapi-pagination==0.12.26
@ -136,6 +131,7 @@ graphviz==0.20.3
# via burr
greenlet==3.0.3
# via playwright
# via sqlalchemy
grpcio==1.65.4
# via google-api-core
# via grpcio-status
@ -504,9 +500,6 @@ tokenizers==0.19.1
# via transformers
toml==0.10.2
# via streamlit
tomli==2.0.1
# via pylint
# via pytest
tomlkit==0.13.0
# via pylint
tornado==6.4.1
@ -524,8 +517,6 @@ transformers==4.44.2
# via scrapegraphai
typing-extensions==4.12.2
# via altair
# via anyio
# via astroid
# via fastapi
# via fastapi-pagination
# via google-generativeai
@ -540,7 +531,6 @@ typing-extensions==4.12.2
# via sqlalchemy
# via streamlit
# via typing-inspect
# via uvicorn
typing-inspect==0.9.0
# via dataclasses-json
# via sf-hamilton

View File

@ -19,8 +19,6 @@ anyio==4.4.0
# via httpx
# via openai
async-timeout==4.0.3
# via aiohttp
# via langchain
# via scrapegraphai
attrs==23.2.0
# via aiohttp
@ -50,8 +48,6 @@ dill==0.3.8
# via multiprocess
distro==1.9.0
# via openai
exceptiongroup==1.2.2
# via anyio
fastembed==0.3.6
# via scrapegraphai
filelock==3.15.4
@ -91,6 +87,7 @@ googlesearch-python==1.2.5
# via scrapegraphai
greenlet==3.0.3
# via playwright
# via sqlalchemy
grpcio==1.65.1
# via google-api-core
# via grpcio-status
@ -371,7 +368,6 @@ tqdm==4.66.4
transformers==4.44.2
# via scrapegraphai
typing-extensions==4.12.2
# via anyio
# via google-generativeai
# via huggingface-hub
# via langchain-core