Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (74 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (74 loc) · 1.86 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
[project]
name = "rag-mvp"
version = "0.1.0"
description = "Multimodal vector RAG service with pluggable document parsing and pgvector"
requires-python = ">=3.11,<3.13"
dependencies = [
"mineru>=3.0.0",
"openai>=1.0.0",
"python-dotenv>=1.0.0",
"click>=8.1.0",
"prompt-toolkit>=3.0.0",
"loguru>=0.7.0",
"pydantic-settings>=2.0.0",
"huggingface-hub[hf-xet]>=0.36.2",
"wikipedia-mcp",
"pytest-timeout>=2.4.0",
"wikipedia>=1.4.0",
"wikipedia-api>=0.14.1",
"httpx>=0.27.0",
"ollama>=0.4.0",
"beautifulsoup4>=4.12.0",
"pyyaml>=6.0.0",
"tiktoken>=0.7.0",
"pydantic>=2.0.0",
"jsonschema>=4.0.0",
"pytest-asyncio>=1.3.0",
"fastapi>=0.136.1",
"uvicorn[standard]>=0.46.0",
"lark-oapi>=1.4.0,<2",
"redis>=5.0.0",
"psycopg[binary]>=3.2.0",
"asyncpg>=0.29.0",
"pgvector>=0.3.0",
"pypdf>=5.0.0",
"boto3>=1.35.0",
"faster-whisper>=1.2.1",
"respx>=0.23.1",
"langfuse>=2.0.0",
"ragas>=0.2.0",
"datasets>=2.0.0",
"argon2-cffi>=23.0.0",
"langchain-openai>=0.2.0",
]
[project.optional-dependencies]
video = [
"faster-whisper>=1.0.0",
]
[project.scripts]
rag = "rag_mvp.cli:cli"
parse = "rag_mvp.cli:parse"
mindmap = "rag_mvp.mindmap_cli:cli"
edu-rag-worker = "rag_mvp.worker:main"
rag-service = "rag_service.main:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/rag_mvp", "src/rag_service"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.uv]
package = true
[tool.uv.sources]
wikipedia-mcp = { git = "https://github.com/rudra-ravi/wikipedia-mcp.git" }
# no special overrides; all packages from PyPI
[tool.ruff]
line-length = 100
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.14.0",
]