-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (42 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
50 lines (42 loc) · 1.15 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
[project]
name = "rag-articlequeryfilter"
version = "0.1.0"
description = "Hybrid RAG retrieval system for news articles with toxic-query filtering."
readme = "README.md"
authors = [
{ name = "Filippo Pellizzari", email = "filippo.pellizzari109@gmail.com" },
]
requires-python = ">=3.11,<3.13"
dependencies = [
"pandas>=2.2.3",
"chromadb>=0.5.11",
"llama-index>=0.11.14",
"llama-index-vector-stores-chroma>=0.2.1",
"llama-index-embeddings-huggingface>=0.3.1",
"llama-index-retrievers-bm25>=0.3.0",
"torch>=2.4.0",
"sentence-transformers>=3.0.0",
"transformers>=4.40.0",
"fastapi>=0.115.0",
"uvicorn>=0.31.0",
"pydantic>=2.9.2",
]
[dependency-groups]
dev = [
"ruff>=0.15.2",
"pytest>=8.0",
"httpx>=0.27", # required by FastAPI TestClient
]
[project.scripts]
prepare-data = "src.data:main"
run-experiments = "src.experiments:main"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"] # pycodestyle, pyflakes, isort, pyupgrade