32 lines
663 B
TOML
32 lines
663 B
TOML
[project]
|
|
name = "rag-lab"
|
|
version = "0.1.0"
|
|
description = "Hybrid retrieval with measured quality: lexical, dense and RRF fusion, plus reranking"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.30",
|
|
"psycopg[binary]>=3.2",
|
|
"fastembed>=0.4",
|
|
"numpy>=1.26",
|
|
"pydantic>=2.8",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "ruff>=0.6"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/raglab"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py311"
|