-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (93 loc) · 2.64 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (93 loc) · 2.64 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "ragforge-ml"
version = "0.1.0"
description = "Local-first RAG pipeline — PDF/Markdown ingestion, Qdrant retrieval, bge reranking, and an answer-quality eval harness. Pairs with turboquant-ml for quantized LLM serving."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "RAGforge Contributors" }]
keywords = [
"rag",
"retrieval-augmented-generation",
"llm",
"vector-search",
"qdrant",
"sentence-transformers",
"bge",
"reranker",
"fastapi",
"evaluation",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Indexing",
]
dependencies = [
"torch>=2.2",
"numpy>=1.24",
"transformers>=4.40",
"sentence-transformers>=3.0",
"qdrant-client>=1.9",
"pypdf>=4.2",
"markdown-it-py>=3.0",
"pyyaml>=6.0",
"rich>=13.7",
"typer>=0.12",
"tqdm>=4.66",
"pydantic>=2.7",
]
[project.optional-dependencies]
serve = ["fastapi>=0.111", "uvicorn>=0.30", "python-multipart>=0.0.9"]
eval = ["scikit-learn>=1.4", "pandas>=2.2"]
quantized = ["turboquant-ml>=0.1", "accelerate>=0.30"]
viz = ["matplotlib>=3.8", "pandas>=2.2"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"httpx>=0.27",
"ruff>=0.5",
"mypy>=1.10",
]
all = ["ragforge-ml[serve,eval,quantized,viz]"]
[project.scripts]
ragforge = "ragforge.cli:app"
rf = "ragforge.cli:app"
[project.urls]
Homepage = "https://github.com/Ademo93/ragforge"
Repository = "https://github.com/Ademo93/ragforge"
Issues = "https://github.com/Ademo93/ragforge/issues"
Documentation = "https://Ademo93.github.io/ragforge/"
[tool.hatch.build.targets.wheel]
packages = ["src/ragforge"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
ignore = ["E501"]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"slow: marks tests as slow",
"gpu: marks tests requiring a GPU",
"integration: end-to-end integration tests",
"network: requires network (skipped by default)",
]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
strict_optional = true