curry tang
commited on
Commit
·
9458b7d
1
Parent(s):
069d1fd
update
Browse files- .env +1 -1
- app.py +1 -1
- config.py +1 -1
- pyproject.toml +1 -1
- requirements-dev.lock +3 -2
- requirements.lock +3 -2
.env
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
OPEN_ROUTER_API_KEY=
|
3 |
TONGYI_API_KEY=
|
4 |
DEBUG=False
|
|
|
1 |
+
DEEPSEEK_API_KEY=
|
2 |
OPEN_ROUTER_API_KEY=
|
3 |
TONGYI_API_KEY=
|
4 |
DEBUG=False
|
app.py
CHANGED
@@ -10,7 +10,7 @@ from banner import banner_md
|
|
10 |
from langchain_core.prompts import PromptTemplate
|
11 |
|
12 |
|
13 |
-
deep_seek_llm = DeepSeekLLM(api_key=settings.
|
14 |
open_router_llm = OpenRouterLLM(api_key=settings.open_router_api_key)
|
15 |
tongyi_llm = TongYiLLM(api_key=settings.tongyi_api_key)
|
16 |
|
|
|
10 |
from langchain_core.prompts import PromptTemplate
|
11 |
|
12 |
|
13 |
+
deep_seek_llm = DeepSeekLLM(api_key=settings.deepseek_api_key)
|
14 |
open_router_llm = OpenRouterLLM(api_key=settings.open_router_api_key)
|
15 |
tongyi_llm = TongYiLLM(api_key=settings.tongyi_api_key)
|
16 |
|
config.py
CHANGED
@@ -2,7 +2,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
2 |
|
3 |
|
4 |
class Settings(BaseSettings):
|
5 |
-
|
6 |
open_router_api_key: str
|
7 |
tongyi_api_key: str
|
8 |
debug: bool
|
|
|
2 |
|
3 |
|
4 |
class Settings(BaseSettings):
|
5 |
+
deepseek_api_key: str
|
6 |
open_router_api_key: str
|
7 |
tongyi_api_key: str
|
8 |
debug: bool
|
pyproject.toml
CHANGED
@@ -10,7 +10,7 @@ dependencies = [
|
|
10 |
"langchain>=0.2.11",
|
11 |
"pydantic>=2.8.2",
|
12 |
"pydantic-settings>=2.3.4",
|
13 |
-
"langchain-openai>=0.1.
|
14 |
"setuptools==69.5.1",
|
15 |
]
|
16 |
readme = "README.md"
|
|
|
10 |
"langchain>=0.2.11",
|
11 |
"pydantic>=2.8.2",
|
12 |
"pydantic-settings>=2.3.4",
|
13 |
+
"langchain-openai>=0.1.20",
|
14 |
"setuptools==69.5.1",
|
15 |
]
|
16 |
readme = "README.md"
|
requirements-dev.lock
CHANGED
@@ -98,11 +98,11 @@ kiwisolver==1.4.5
|
|
98 |
# via matplotlib
|
99 |
langchain==0.2.11
|
100 |
# via startship
|
101 |
-
langchain-core==0.2.
|
102 |
# via langchain
|
103 |
# via langchain-openai
|
104 |
# via langchain-text-splitters
|
105 |
-
langchain-openai==0.1.
|
106 |
# via startship
|
107 |
langchain-text-splitters==0.2.2
|
108 |
# via langchain
|
@@ -225,6 +225,7 @@ typing-extensions==4.12.2
|
|
225 |
# via gradio
|
226 |
# via gradio-client
|
227 |
# via huggingface-hub
|
|
|
228 |
# via openai
|
229 |
# via pydantic
|
230 |
# via pydantic-core
|
|
|
98 |
# via matplotlib
|
99 |
langchain==0.2.11
|
100 |
# via startship
|
101 |
+
langchain-core==0.2.28
|
102 |
# via langchain
|
103 |
# via langchain-openai
|
104 |
# via langchain-text-splitters
|
105 |
+
langchain-openai==0.1.20
|
106 |
# via startship
|
107 |
langchain-text-splitters==0.2.2
|
108 |
# via langchain
|
|
|
225 |
# via gradio
|
226 |
# via gradio-client
|
227 |
# via huggingface-hub
|
228 |
+
# via langchain-core
|
229 |
# via openai
|
230 |
# via pydantic
|
231 |
# via pydantic-core
|
requirements.lock
CHANGED
@@ -98,11 +98,11 @@ kiwisolver==1.4.5
|
|
98 |
# via matplotlib
|
99 |
langchain==0.2.11
|
100 |
# via startship
|
101 |
-
langchain-core==0.2.
|
102 |
# via langchain
|
103 |
# via langchain-openai
|
104 |
# via langchain-text-splitters
|
105 |
-
langchain-openai==0.1.
|
106 |
# via startship
|
107 |
langchain-text-splitters==0.2.2
|
108 |
# via langchain
|
@@ -225,6 +225,7 @@ typing-extensions==4.12.2
|
|
225 |
# via gradio
|
226 |
# via gradio-client
|
227 |
# via huggingface-hub
|
|
|
228 |
# via openai
|
229 |
# via pydantic
|
230 |
# via pydantic-core
|
|
|
98 |
# via matplotlib
|
99 |
langchain==0.2.11
|
100 |
# via startship
|
101 |
+
langchain-core==0.2.28
|
102 |
# via langchain
|
103 |
# via langchain-openai
|
104 |
# via langchain-text-splitters
|
105 |
+
langchain-openai==0.1.20
|
106 |
# via startship
|
107 |
langchain-text-splitters==0.2.2
|
108 |
# via langchain
|
|
|
225 |
# via gradio
|
226 |
# via gradio-client
|
227 |
# via huggingface-hub
|
228 |
+
# via langchain-core
|
229 |
# via openai
|
230 |
# via pydantic
|
231 |
# via pydantic-core
|