From 9cd9a874f91bbbb2990444818e8ab2d0855cc361 Mon Sep 17 00:00:00 2001 From: Federico Aguzzi <62149513+f-aguzzi@users.noreply.github.com> Date: Fri, 18 Oct 2024 22:34:42 +0200 Subject: [PATCH] chore: fix example Committing even though this is not the bug we were looking for --- examples/together/depth_search_graph_together.py | 7 +++---- requirements-dev.lock | 12 +----------- requirements.lock | 6 +----- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/examples/together/depth_search_graph_together.py b/examples/together/depth_search_graph_together.py index 7a2e7f3e..fb7b4d9e 100644 --- a/examples/together/depth_search_graph_together.py +++ b/examples/together/depth_search_graph_together.py @@ -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, diff --git a/requirements-dev.lock b/requirements-dev.lock index bca5e9c2..61bd3e2b 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -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 diff --git a/requirements.lock b/requirements.lock index 38be6e68..c2c40996 100644 --- a/requirements.lock +++ b/requirements.lock @@ -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