Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (115 loc) · 2.97 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (115 loc) · 2.97 KB
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
[build-system]
requires = ["uv_build>=0.9.28,<0.12.0"]
build-backend = "uv_build"
[tool.uv]
package = true
required-version = ">=0.13.4"
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
[project]
name = "symbolicai"
version = "2.2.0"
authors = [
{ name = "Marius-Constantin Dinu", email = "marius@extensity.ai" },
{ name = "Leoveanu-Condrei Claudiu", email = "leo@extensity.ai" },
]
description = "A Neurosymbolic Perspective on Large Language Models"
readme = "README.md"
requires-python = ">=3.11"
keywords = ["probabilistic programming", "machine learning"]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=1.26.4,<=2.1.3",
"tqdm>=4.66.3",
"tiktoken>=0.8.0",
"pillow>=13.0.0",
"beartype>=0.18.2",
"pydantic>=2.8.2",
"jinja2>=3.1.0",
"markitdown[docx,outlook,pdf,pptx,xls,xlsx]",
"filetype>=1.2.0",
"python-box>=7.1.1",
"httpx>=0.28.1",
"certifi>=2026.10.19",
]
[project.optional-dependencies]
hf = [
"torch>=2.13.0",
"aiohttp>=3.14.4",
"transformers>=4.45.2",
"accelerate>=0.33.0",
"peft>=0.13.1",
"datasets>=3.0.1",
"trl>=0.11.3",
"sentencepiece>=0.2.0",
"sentence-transformers>=2.5.1",
]
scrape = [
"beautifulsoup4>=4.12.3",
"trafilatura>=2.0.0",
"pdfminer.six",
"playwright>=1.45.0",
]
# NOTE: vllm is a bring-your-own dependency (same pattern as llama.cpp's --cpp-server-path).
# Users clone + build vLLM in its own venv and pass --vllm-python-path to symserver.
# See docs/source/ENGINES/local_engine.md.
lean = ["docker>=7.0.0"]
whisper = ["torch>=2.13.0", "openai-whisper>=20240930", "numba>=0.62.1", "llvmlite>=0.45.1"]
video = ["opencv-python>=4.8.1.78"]
search = ["tldextract>=5.1.0"]
services = ["fastapi>=0.110.0", "uvicorn>=0.27.1"]
qdrant = ["qdrant-client", "chonkie>=0.4.1", "tokenizers"]
cluster = ["scikit-learn>=1.7.0"]
all = [
"symbolicai[hf]",
"symbolicai[whisper]",
"symbolicai[video]",
"symbolicai[scrape]",
"symbolicai[search]",
"symbolicai[services]",
"symbolicai[qdrant]",
"symbolicai[lean]",
"symbolicai[cluster]",
]
dev = ["pytest-asyncio>=1.3.0", "pytest-xdist>=3.6.0"]
[tool.uv.build-backend]
module-name = "symai"
module-root = ""
source-exclude = [
"/.github",
"/artifacts",
"/build",
"/docs",
"/examples",
"/pytest.ini",
"/ruff.toml",
"/tests",
"/uv.lock",
"*.egg-info",
"*.pyc",
".DS_Store",
"__pycache__",
]
[dependency-groups]
dev = [
"ruff>=0.14.4",
"pytest>=8.3.1",
"pytest-asyncio>=1.3.0",
"pytest-xdist>=3.6.0",
"python-dotenv>=1.0.0",
]
[project.urls]
"Homepage" = "https://extensity.ai"
"GitHub" = "https://github.com/ExtensityAI/symbolicai"
[project.scripts]
symconfig = "symai:display_config"
symserver = "symai:run_server"