forked from aitomatic/openssa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
164 lines (136 loc) · 3.69 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[tool.poetry]
name = "openssa"
version = "0.24.9.30"
authors = [
"Aitomatic, Inc. <[email protected]>",
"Christopher Nguyen <[email protected]>",
"Vinh Luong <[email protected]>",
"Sang Dinh <[email protected]>",
]
maintainers = [
"Aitomatic, Inc. <[email protected]>",
"Vinh Luong <[email protected]>",
"Sang Dinh <[email protected]>",
"Shruti Raghavan <[email protected]>",
"William Nguyen <[email protected]>",
"Quynh Le <[email protected]>",
"Zooey Nguyen <[email protected]>",
]
license = "Apache-2.0"
description = "OpenSSA: Small Specialist Agents for Industrial AI"
readme = "README.md"
homepage = "https://openssa.org"
repository = "https://github.com/aitomatic/openssa"
documentation = "https://aitomatic.github.io/openssa"
keywords = [
"Artificial Intelligence", "A.I.", "AI",
"industrial",
"specialist", "specialized",
"domain", "expertise", "knowledge",
]
classifiers = [
]
packages = [
{include = "openssa"},
]
include = [
]
exclude = [
"**/.openssa/", # OpenSSA cache data
]
[tool.poetry.group.dev.dependencies]
ipykernel = ">=6.29"
notebook = ">=7.2"
[tool.poetry.group.docs.dependencies]
sphinx = ">=8.1"
sphinx-autobuild = ">=2024.10"
sphinx-press-theme = ">=0.9"
myst-parser = ">=4.0"
[tool.poetry.group.lint.dependencies]
flake8 = ">=7.1"
pylint = ">=3.3"
ruff = ">=0.8"
[tool.poetry.group.test.dependencies]
pytest = ">=8.3"
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
# Llama interface
huggingface-hub = ">=0.26"
# OpenAI interface
openai = ">=1.55"
# LlamaIndex & related
llama-index-llms-ollama = ">=0.4"
llama-index-embeddings-ollama = ">=0.4"
llama-index = ">=0.12"
llama-index-embeddings-azure-openai = ">=0.3"
llama-index-llms-azure-openai = ">=0.3"
llama-index-readers-web = ">=0.3"
docx2txt = ">=0.8" # for reading .docx files
pypdf = ">=5.1" # for reading .pdf files
pycryptodome = ">=3.21" # for reading .pdf files: PyCryptodome is required for AES algorithm
# file systems
fsspec = ">=2024.10" # base/local file system
adlfs = ">=2024.7" # Azure Data Lake
gcsfs = ">=2024.10" # Google Cloud Storage
s3fs = ">=2024.10" # S3
# misc / other
certifi = ">2023.8"
google-api-python-client = ">=2.154"
googlesearch-python = ">=1.2"
httpx = ">=0.27"
loguru = ">=0.7"
pydantic = ">=2.10"
python-dotenv = ">=1.0"
torch = ">=2.2" # 2.3 fails installing on Mac with M chip
tqdm = ">=4.67"
# optional dependencies required by extras
streamlit = {version = ">=1.40", optional = true}
streamlit-extras = {version = ">=0.5", optional = true}
streamlit-mic-recorder = {version = ">=0.0.8", optional = true}
langchainhub = ">=0.1"
faiss-cpu = ">=1.9"
[tool.poetry.extras]
contrib = [
"streamlit",
"streamlit-extras",
"streamlit-mic-recorder",
]
langchain = [
"langchainhub",
]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
"poetry-core >= 1.9",
]
# pylint.readthedocs.io/en/latest/user_guide/usage/run.html
# pylint.readthedocs.io/en/latest/user_guide/configuration/index.html
[tool.pylint."messages control"]
disable = [
"astroid-error",
"attribute-defined-outside-init",
"duplicate-code",
"fixme",
"import-error",
"invalid-name",
"line-too-long",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"no-name-in-module",
"raw-checker-failed",
"redefined-outer-name",
"relative-beyond-top-level",
"too-few-public-methods",
"too-many-positional-arguments",
"unknown-option-value",
"unnecessary-pass",
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
filterwarnings = [
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace.*google.*:DeprecationWarning",
]