Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (59 loc) · 2.01 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "retrieval-lab"
version = "0.1.0"
description = "Corpus-specific retrieval benchmark and deterministic stage-level failure-attribution engine for RAG pipelines."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Ashwin Ugale" }]
keywords = ["retrieval", "rag", "benchmark", "evaluation", "ir", "attribution"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
]
# Light core: numpy + stdlib only. Heavy integrations live behind extras.
dependencies = [
"numpy>=1.24",
]
[project.optional-dependencies]
# Real embedding models (e5, bge, ...). Large downloads; opt-in.
real-embed = ["sentence-transformers>=2.2"]
# Hosted embedding APIs such as OpenAI. Requires provider credentials at runtime.
api-embed = ["openai>=1.0"]
# Cross-encoder reranking.
rerank = ["sentence-transformers>=2.2"]
# Approximate nearest-neighbour dense index.
ann = ["hnswlib>=0.7"]
# Everything needed to run the full test suite.
dev = [
"pytest>=7",
"ruff>=0.4",
]
[project.scripts]
retrieval-lab = "retrieval_lab.cli:main"
[project.urls]
Homepage = "https://github.com/AshwinUgale/Retrieval-Lab"
Repository = "https://github.com/AshwinUgale/Retrieval-Lab"
Issues = "https://github.com/AshwinUgale/Retrieval-Lab/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/retrieval_lab"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
# Run the suite from a source checkout without an editable install.
pythonpath = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]