-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (57 loc) · 1.27 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
[project]
name = "raglab"
version = "0.1.0"
description = "RAG evaluation & experimentation platform"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi[standard]>=0.115.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.7.0",
"openai>=1.58.0",
"anthropic>=0.42.0",
"chromadb>=0.6.0",
"ragas>=0.2.0",
"httpx>=0.28.0",
"typer>=0.12.0",
"pypdf>=5.0.0",
"pyyaml>=6.0.0",
"sqlmodel>=0.0.21",
"rank-bm25>=0.2.2",
"logfire[fastapi]>=4.32.1",
"opentelemetry-sdk>=1.40.0",
]
[project.scripts]
raglab = "raglab.cli:app"
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 88
src = ["src"]
[tool.logfire]
ignore_no_config = true
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.mypy]
python_version = "3.12"
mypy_path = "src"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.uv]
override-dependencies = [
"onnxruntime==1.20.1; sys_platform == 'darwin' and platform_machine == 'x86_64'",
]
[dependency-groups]
dev = [
"pre-commit>=4.6.0",
"pytest>=9.0.3",
"pytest-mock>=3.15.1",
"ruff>=0.9.0",
"mypy>=1.14.0",
"types-pyyaml>=6.0.0",
]