feat: add sqlite persistence model

This commit is contained in:
gqt
2026-07-13 11:28:09 +08:00
parent 44e01e2f93
commit eebcd5d6a7
11 changed files with 793 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
"""Import all ORM models so Alembic can discover metadata."""
from kbqa.chat.models import ChatSession, Message, MessageSource
from kbqa.documents.models import Chunk, Document, IndexJob
__all__ = ["ChatSession", "Chunk", "Document", "IndexJob", "Message", "MessageSource"]