forked from rhoai-feature-sizing/rhoai-ai-feature-sizing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.77 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
[project]
name = "backend"
version = "0.1.0"
description = "RHOAI AI Feature Sizing Backend with Multi-Agent RAG"
readme = "README.md"
requires-python = ">=3.11,<3.14"
dependencies = [
# Core LlamaIndex (compatible version)
"llama-index-core>=0.12.0,<0.13.0",
"llama-index-llms-openai>=0.3.2,<0.4.0",
"llama-index-embeddings-openai>=0.3.1,<0.4.0",
"llama-index-readers-file>=0.4.6,<1.0.0",
# LlamaDeploy
"llama-deploy",
# Your existing ingestion dependencies
"llama-index-readers-github",
"llama-index-readers-web",
"pyyaml>=6.0",
"python-dotenv>=1.0.0",
"click>=8.0.0",
"pydantic>=2.11.5",
# Additional workflow dependencies
"aiostream>=0.5.2,<0.6.0",
"docx2txt>=0.8,<0.9",
"llama-index-llms-anthropic>=0.7.6",
]
[project.scripts]
ingest = "src.ingestion:cli"
generate = "src.generate:generate_indices"
[project.optional-dependencies]
dev = [
"mypy>=1.8.0,<2.0.0",
"pytest>=8.3.5,<9.0.0",
"pytest-asyncio>=0.25.3,<0.26.0"
]
[tool.uv.sources]
[tool.uv.sources.llama-deploy]
git = "https://github.com/run-llama/llama_deploy"
[tool.mypy]
python_version = "3.11"
plugins = "pydantic.mypy"
exclude = ["tests", "venv", ".venv", "output", "config"]
check_untyped_defs = true
warn_unused_ignores = false
show_error_codes = true
namespace_packages = true
ignore_missing_imports = true
follow_imports = "silent"
implicit_optional = true
strict_optional = false
disable_error_code = ["return-value", "assignment"]
[[tool.mypy.overrides]]
module = "src.*"
ignore_missing_imports = false
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
[tool.hatch.build.targets]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"