Skip to content

Commit 7c0d8a6

Browse files
committed
add requirements file and update README
- Added requirements.txt with necessary dependencies. - Updated README.md with pip install command for requirements. Signed-off-by: John Wang <[email protected]>
1 parent 4e9c501 commit 7c0d8a6

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ GPTCOMMIT=1 git commit
2525

2626
将 prepare-commit-msg 文件拷贝到工程的 .git/hooks/ 目录下
2727

28+
```
29+
pip install -r requirements.txt
30+
```
31+
2832
## OpenAI 配置
2933

3034
需要在环境变量中配置`OPENAI_API_KEY`,如果你采用聚合代理的方式访问OpenAI, 则需要另外配置`OPENAI_API_BASE`

requirements.txt

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
aiohappyeyeballs==2.3.5
2+
aiohttp==3.10.3
3+
aiosignal==1.3.1
4+
annotated-types==0.7.0
5+
anyio==4.4.0
6+
async-timeout==4.0.3
7+
attrs==24.2.0
8+
certifi==2024.7.4
9+
charset-normalizer==3.3.2
10+
distro==1.9.0
11+
exceptiongroup==1.2.2
12+
frozenlist==1.4.1
13+
greenlet==3.0.3
14+
h11==0.14.0
15+
httpcore==1.0.5
16+
httpx==0.27.0
17+
idna==3.7
18+
jiter==0.5.0
19+
jsonpatch==1.33
20+
jsonpointer==3.0.0
21+
langchain==0.2.12
22+
langchain-core==0.2.29
23+
langchain-openai==0.1.21
24+
langchain-text-splitters==0.2.2
25+
langsmith==0.1.99
26+
multidict==6.0.5
27+
numpy==1.26.4
28+
openai==1.40.3
29+
orjson==3.10.7
30+
packaging==24.1
31+
pydantic==2.8.2
32+
pydantic_core==2.20.1
33+
PyYAML==6.0.2
34+
regex==2024.7.24
35+
requests==2.32.3
36+
sh==2.0.7
37+
sniffio==1.3.1
38+
SQLAlchemy==2.0.32
39+
tenacity==8.5.0
40+
tiktoken==0.7.0
41+
tqdm==4.66.5
42+
typing_extensions==4.12.2
43+
urllib3==2.2.2
44+
yarl==1.9.4

0 commit comments

Comments
 (0)