feat: persist isolated vector snapshots and exact retrieval

This commit is contained in:
2026-10-16 09:52:02 +08:00
parent 1c07d9ed16
commit 5e5cba2698
24 changed files with 1729 additions and 20 deletions
+12
View File
@@ -3,13 +3,22 @@ from app.models.catalog import AuditEvent, Document, Source
from app.models.indexing import Chunk, IndexPublication, IndexState, IndexVersion
from app.models.knowledge import KnowledgeItem
from app.models.retrieval import RetrievalRun
from app.models.vectors import (
ChunkVector,
EmbeddingSpace,
VectorPublication,
VectorState,
VectorVersion,
)
__all__ = [
"AuditEvent",
"AuthRateLimit",
"AuthSession",
"Chunk",
"ChunkVector",
"Document",
"EmbeddingSpace",
"IndexPublication",
"IndexState",
"IndexVersion",
@@ -17,4 +26,7 @@ __all__ = [
"RetrievalRun",
"Source",
"User",
"VectorPublication",
"VectorState",
"VectorVersion",
]