summaryrefslogtreecommitdiff
path: root/rag/rag.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-24 10:44:12 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-24 10:44:12 +0300
commit3b64baf9ebf468e5f28f8eb2295ecba16a820f99 (patch)
treee20fd155b2f909301f8f3cb88c82245bff940735 /rag/rag.go
parent4774ea48db1bd813f04e47e7026b0e43c7bcfffa (diff)
Enha: migrations with different emb tables
Diffstat (limited to 'rag/rag.go')
-rw-r--r--rag/rag.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/rag/rag.go b/rag/rag.go
index 7fbbe98..f50a913 100644
--- a/rag/rag.go
+++ b/rag/rag.go
@@ -43,10 +43,7 @@ func New(l *slog.Logger, s storage.FullRepo, cfg *config.Config) *RAG {
storage: NewVectorStorage(l, s),
}
- // Create the necessary tables
- if err := rag.storage.CreateTables(); err != nil {
- l.Error("failed to create vector tables", "error", err)
- }
+ // Note: Vector tables are created via database migrations, not at runtime
return rag
}