terry-li-hm
commited on
Commit
·
ddc34cd
1
Parent(s):
8c16a7f
Poetry
Browse files- poetry.lock +0 -0
- pyproject.toml +31 -0
poetry.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pyproject.toml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tool.poetry]
|
2 |
+
name = "my-chatbot"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = ""
|
5 |
+
authors = ["Your Name <[email protected]>"]
|
6 |
+
|
7 |
+
[tool.poetry.dependencies]
|
8 |
+
python = ">=3.11,<3.12"
|
9 |
+
torch = "2.0.1"
|
10 |
+
chainlit = "^0.7.400"
|
11 |
+
llama-index = "^0.8.55"
|
12 |
+
trafilatura = "^1.6.2"
|
13 |
+
openai = "^0.28.1"
|
14 |
+
transformers = "^4.34.1"
|
15 |
+
accelerate = "^0.24.0"
|
16 |
+
scipy = "^1.11.3"
|
17 |
+
bitsandbytes = "^0.41.1"
|
18 |
+
|
19 |
+
[tool.pyright]
|
20 |
+
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
|
21 |
+
useLibraryCodeForTypes = true
|
22 |
+
exclude = [".cache"]
|
23 |
+
|
24 |
+
[tool.ruff]
|
25 |
+
# https://beta.ruff.rs/docs/configuration/
|
26 |
+
select = ['E', 'W', 'F', 'I', 'B', 'C4', 'ARG', 'SIM']
|
27 |
+
ignore = ['W291', 'W292', 'W293']
|
28 |
+
|
29 |
+
[build-system]
|
30 |
+
requires = ["poetry-core>=1.0.0"]
|
31 |
+
build-backend = "poetry.core.masonry.api"
|