-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (55 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (55 loc) · 1.75 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
[project]
name = "ray-rag-intelligence"
version = "0.2.0"
description = "Distributed RAG document-intelligence platform on Ray: trained ML owns retrieval ranking and routing; the LLM only does citation-grounded generation."
readme = "README.md"
requires-python = ">=3.10,<3.12"
license = { text = "MIT" }
authors = [{ name = "Pralay Ghosh" }]
dependencies = [
"ray[data,train,tune,serve]>=2.30,<2.40",
"sentence-transformers>=3.0",
"faiss-cpu>=1.8",
"torch>=2.2",
"transformers>=4.42",
"scikit-learn>=1.4",
"xgboost>=2.0",
"anthropic>=0.40",
"pydantic>=2.7",
"pydantic-settings>=2.3",
# <0.116: fastapi 0.116+ allows starlette 1.x, whose FastAPI app holds a
# thread lock that Ray Serve's cloudpickle cannot serialize — the deployment
# graph then fails at import ("Failed to serialize the FastAPI app").
"fastapi>=0.111,<0.116",
]
[project.urls]
Homepage = "https://github.com/ghoshp83/ray-rag-intelligence"
Repository = "https://github.com/ghoshp83/ray-rag-intelligence"
[project.optional-dependencies]
dev = [
"pytest>=8.2",
"ruff>=0.5",
"mypy>=1.10",
"httpx>=0.27",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
warn_unused_ignores = true
# Ray Serve's @serve.deployment makes `.bind()` a dynamic attribute mypy can't
# see on the decorated class; scope the suppression to the binding module only.
[[tool.mypy.overrides]]
module = "ray_rag.serve.app"
disable_error_code = ["attr-defined"]
[tool.pytest.ini_options]
testpaths = ["tests"]