Skip to content

Commit

Permalink
chore: fix example
Browse files Browse the repository at this point in the history
Committing even though this is not the bug we were looking for
  • Loading branch information
f-aguzzi committed Oct 18, 2024
1 parent 8cb9646 commit 9cd9a87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
7 changes: 3 additions & 4 deletions examples/together/depth_search_graph_together.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@

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,
Expand Down
12 changes: 1 addition & 11 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 1 addition & 5 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9cd9a87

Please sign in to comment.