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
9 lines
396 B
Python
9 lines
396 B
Python
"""Writing-first knowledge capture.
|
|
|
|
Capture is not a conversation Mode: the artifact is a Document the user
|
|
writes directly (Markdown is the source of truth), and the model
|
|
refines one section at a time (FIM-style). This package holds the template
|
|
schema, the skeleton/title rendering, the active-section boundary and the
|
|
refinement prompt. The HTTP surface lives in `app/api/authoring.py`.
|
|
"""
|