- Remove Dockerfile and docker-compose.yaml (not suitable for this project) - Update README.md with comprehensive setup documentation - Add systemd, tmux, and rc.local auto-start options - Add troubleshooting section
43 lines
887 B
TOML
43 lines
887 B
TOML
[project]
|
|
name = "knowledge-rag"
|
|
version = "0.1.0"
|
|
description = "RAG system for Obsidian vault knowledge base with MCP server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"llama-index>=0.10.0",
|
|
"llama-index-vector-stores-chroma>=0.1.0",
|
|
"chromadb>=0.4.0",
|
|
"sentence-transformers>=2.2.0",
|
|
"mcp>=1.0.0",
|
|
"python-dotenv>=1.0.0",
|
|
"pydantic>=2.0.0",
|
|
"watchdog>=3.0.0",
|
|
"httpx>=0.25.0",
|
|
# CPU-only PyTorch
|
|
"torch>=2.0.0",
|
|
"numpy>=1.24.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/knowledge_rag"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W"]
|
|
ignore = ["E501"]
|