-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
70 lines (61 loc) · 1.68 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
[project]
name = "road-core-eval"
version = "0.1.0"
description = "Evaluation tooling for road-core"
authors = []
# always generate Python 3.11-compatible code.
target-version = "py311"
lint.pydocstyle.convention = "google"
line-length = 100
dependencies = [
"pdm==2.21.0",
"pandas==2.1.4",
"httpx==0.27.2",
"langchain==0.3.12",
"llama-index==0.12.2",
"llama-index-core==0.12.2",
"llama-index-vector-stores-faiss==0.3.0",
"llama-index-embeddings-huggingface==0.4.0",
"ibm-watsonx-ai==1.1.25",
"tqdm==4.67.1",
"llama-index-vector-stores-postgres>=0.4.0",
"rouge-score==0.1.2",
"torch==2.6.0+cpu",
"road-core @ git+https://github.com/road-core/service.git",
"matplotlib>=3.10.1",
]
requires-python = ">=3.11.1,<=3.12.8"
readme = "README.md"
license = {text = "Apache"}
[dependency-groups]
dev = [
"black>=25.1.0",
"mypy>=1.15.0",
"ruff>=0.8.0",
"pylint>=3.3.2",
"pytest>=8.3.2",
]
[project.scripts]
evaluate = "road_core_eval.evaluate:main"
query_rag = "road_core_eval.query_rag:main"
# The following section is needed only for torch[cpu] variant on Linux,
# because this variant need to be downloaded from external link, not from
# standard Python package index:
#
[[tool.pdm.source]]
type = "find_links"
url = "https://download.pytorch.org/whl/cpu/torch/"
name = "torch"
[tool.mypy]
disable_error_code = ["union-attr", "return-value", "arg-type", "import-untyped"]
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true