Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (114 loc) · 3.09 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (114 loc) · 3.09 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "docuverse"
dynamic = ["version"]
requires-python = ">=3.10.0, <3.15.0"
description = "State-of-the-art Retrieval/Search engine models, including ElasticSearch, ChromaDB, Milvus, and PrimeQA"
readme = "README.md"
license = "Apache-2.0"
authors = [
{name = "PrimeQA/DocUVerse Team", email = "primeqa@us.ibm.com"}
]
keywords = [
"Question Answering (QA)",
"Machine Reading Comprehension (MRC)",
"Information Retrieval (IR)"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
]
# Pins are intentionally permissive lower-bounds, not the tight pins that used to
# live in requirements*.txt. They reflect the versions that are known to work in
# the dev environment as of 2026-05; see requirements*.txt (now deprecation
# shims) for historical exact pins.
dependencies = [
"rouge-score",
"pyyaml>=6.0",
"accelerate",
"sentence-transformers>=5.2",
"python-dotenv>=1.0",
"numpy>=1.26",
"urllib3>=2.0",
"torch>=2.10,<3",
"multiprocess>=0.70; platform_system=='Darwin'",
"tqdm>=4.65",
"transformers>=5.2,<6",
"orjson>=3.10",
"pydantic_core>=2.27",
"simple_colors",
"pandas>=2.2",
"jinja2>=3.1.6",
"grpcio>=1.60",
"scipy>=1.16",
"matplotlib>=3.7"
]
[project.optional-dependencies]
milvus = [
"pymilvus[model]>=2.5,<3",
"pymilvus[milvus_lite]",
]
chromadb = [
"chromadb>=1.0",
]
elastic = [
"elasticsearch>=8.17,<9",
]
extra = [
"pyizumo[pos]>=2.0",
"huggingface_hub[cli]",
"pynvml",
"scikit-learn>=1.3",
]
faiss = [
"faiss-cpu",
]
lancedb = [
"lancedb>=0.15",
]
# `quickstart` is the curated minimum to make the README example work end-to-end
# without an external service (Milvus-Lite via `file:` server).
quickstart = [
"pymilvus[model]>=2.5,<3",
"pymilvus[milvus_lite]",
]
# `dev` pulls test/lint tooling so contributors can run the test suite.
dev = [
"pytest>=7",
"pytest-cov>=4",
"ruff>=0.4",
]
all = [
"pymilvus[model]>=2.5,<3",
"chromadb>=1.0",
"elasticsearch>=8.17,<9",
"faiss-cpu",
"lancedb>=0.15",
"pyizumo[pos]>=2.0",
"huggingface_hub[cli]",
"pynvml",
"scikit-learn>=1.3",
]
[project.urls]
Homepage = "https://github.com/primeqa/docuverse"
Repository = "https://github.com/primeqa/docuverse"
[project.scripts]
# `docuverse` is the unified entry point — see docuverse/cli/__init__.py.
# `ingest-and-test` and `db2db-copy` are kept as legacy aliases.
docuverse = "docuverse.cli:main"
ingest-and-test = "docuverse.utils.ingest_and_test:main_cli"
db2db-copy = "scripts.milvus_utils.db2db_copy:main"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["docuverse", "docuverse.*", "scripts", "scripts.*"]
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[tool.setuptools.package-data]
"*" = ["*.cpp", "*.cu"]
"docuverse" = ["presets/recipes/*.yaml", "resources/*.json"]