Pablan, as it stands
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
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
from app.models.auth_session import AuthSession
|
||||
from app.models.base import Base
|
||||
from app.models.conversation import Conversation, Message
|
||||
from app.models.department import Department
|
||||
from app.models.document import (
|
||||
EMBEDDING_DIM,
|
||||
Chunk,
|
||||
DocPermission,
|
||||
Document,
|
||||
DocumentEvent,
|
||||
ReviewRequest,
|
||||
)
|
||||
from app.models.enums import (
|
||||
AccessReason,
|
||||
ConversationMode,
|
||||
ConversationStatus,
|
||||
DocumentEventAction,
|
||||
DocumentStatus,
|
||||
DocumentVisibility,
|
||||
JobStatus,
|
||||
MessageRole,
|
||||
PermissionLevel,
|
||||
UserRole,
|
||||
)
|
||||
from app.models.job import Job
|
||||
from app.models.llm_setting import LLMSetting
|
||||
from app.models.prompt_setting import PromptSetting
|
||||
from app.models.template import Template
|
||||
from app.models.user import User
|
||||
|
||||
__all__ = [
|
||||
"EMBEDDING_DIM",
|
||||
"AuthSession",
|
||||
"Base",
|
||||
"Chunk",
|
||||
"Conversation",
|
||||
"ConversationMode",
|
||||
"ConversationStatus",
|
||||
"Department",
|
||||
"DocPermission",
|
||||
"Document",
|
||||
"DocumentEvent",
|
||||
"ReviewRequest",
|
||||
"DocumentEventAction",
|
||||
"DocumentStatus",
|
||||
"DocumentVisibility",
|
||||
"Job",
|
||||
"LLMSetting",
|
||||
"JobStatus",
|
||||
"Message",
|
||||
"MessageRole",
|
||||
"AccessReason",
|
||||
"PermissionLevel",
|
||||
"PromptSetting",
|
||||
"Template",
|
||||
"User",
|
||||
"UserRole",
|
||||
]
|
||||
Reference in New Issue
Block a user