-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (100 loc) · 2.89 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[tool.poetry]
name = "reginald"
version= " 0.1.0"
description = "A Slack bot from REG Hack Week 2023 & 2024"
authors = ["Evelina Gabasova <[email protected]>",
"James Robinson <[email protected]>",
"Ryan Chan <[email protected]>",
"Rosie Wood <[email protected]>",
"Markus Hauru <[email protected]>",
"May Yong <[email protected]>",
"James Bishop <[email protected]>",
"Tomas Lazauskas <[email protected]>",
"David Beavan <[email protected]>",
"Levan Bokeria <[email protected]>",
"Martin O'Reilly <[email protected]>",
"Oliver Strickson <[email protected]>",
"Katriona Goldmann <[email protected]>",
"Griffith Rees <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<3.12"
accelerate = "^0.31.0"
fastapi = { version="^0.110.1", optional=true }
gitpython = "^3.1.43"
httpx = "^0.27.0"
llama-cpp-python = "^0.2.78"
llama-index = "^0.10.43"
nest_asyncio = "^1.6.0"
openai = "^1.34.0"
pandas = "^2.2.2"
pulumi = { version="^3.100.0", optional=true }
pulumi-azure-native = { version="^2.24.0", optional=true }
azure-storage-file-share = { version="^12.16.0", optional=true }
pydantic = { version="^2.7.4", optional=true }
requests = { version="^2.32.3", optional=true }
safetensors = "^0.4.3"
slack-sdk = "^3.27.2"
sentence-transformers = "2.*"
torch = "^2.3.1"
transformers = "^4.41.2"
uvicorn = { version="^0.23.2", optional=true }
llama-index-llms-azure-openai = "^0.1.8"
llama-index-llms-openai = "^0.1.22"
llama-index-embeddings-huggingface = "^0.2.1"
llama-index-llms-huggingface = "^0.2.3"
llama-index-llms-ollama = "^0.1.5"
llama-index-llms-llama-cpp = "^0.1.3"
llama-index-readers-file = "^0.1.23"
llama-index-readers-github = "^0.1.9"
tiktoken = "^0.7.0"
typer = "^0.12.3"
rich = "^13.7.1"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
isort = "^5.12.0"
pre-commit = "^3.3.2"
pytest = "^8.2.2"
ipython = "^8.25.0"
pytest-cov = "^5.0.0"
poetry = "^1.8.3"
mkdocs-material = "^9.5.26"
mkdocstrings-python = "^1.10.3"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"
mkdocs-same-dir = "^0.1.3"
[tool.poetry.extras]
api_bot = [
"fastapi",
"pydantic",
"requests",
"uvicorn",
]
azure = [
"pulumi",
"pulumi-azure-native",
"azure-storage-file-share",
]
[tool.poetry.scripts]
reginald = "reginald.cli:cli"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
"reginald",
]
addopts = """
--cov=reginald
--cov-report=term:skip-covered
--cov-append
--pdbcls=IPython.terminal.debugger:TerminalPdb
--doctest-modules
"""
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS",]