Self-hosted knowledge management for SMEs: a split-screen Markdown editor whose sections an LLM refines while you write, and RAG question answering over the documents that result. FastAPI + Postgres/pgvector on the back, SvelteKit on the front, everything OpenAI-compatible and self-hostable. Squashed into a single commit; the development history stays local. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CA43ZJda8Rbp2hKXNy8f6b
43 lines
971 B
TOML
43 lines
971 B
TOML
[project]
|
|
name = "pablan-backend"
|
|
version = "0.1.0"
|
|
description = "Pablan backend — FastAPI app: interviews, RAG, knowledge management"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"alembic>=1.18.5",
|
|
"argon2-cffi>=25.1.0",
|
|
"asyncpg>=0.31.0",
|
|
"fastapi>=0.115",
|
|
"openai>=2.46.0",
|
|
"pgvector>=0.5.0",
|
|
"pydantic-settings>=2.14.2",
|
|
"pyyaml>=6.0.3",
|
|
"sqlalchemy[asyncio]>=2.0.51",
|
|
"uvicorn[standard]>=0.34",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"httpx>=0.28.1",
|
|
"pytest>=8",
|
|
"pytest-asyncio>=1.4.0",
|
|
"ruff>=0.11",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
pythonpath = ["."]
|
|
# Evals need live LLM endpoints; the normal suite must run without them.
|
|
addopts = "-m 'not eval'"
|
|
markers = [
|
|
"eval: LLM/retrieval evals against the configured endpoints (make eval)",
|
|
]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = ["I", "B"]
|