Category: Model Coupling & Portability
Priority: Medium
Phase: Phase 3 (Embeddings + dense retrieval)
Problem
Swapping the embedder later requires a full re-embed plus schema migration, since the dimension is baked into vector(N).
Solution
Two changes, together making an embedder swap additive rather than in-place.
- Dimension as an explicit parameter
- Per-model embedding columns. Each active embedder gets its own vector(N) column and its own index, tagged by a model identifier.
- See 0008-per-model-embedding-columns.md
Category: Model Coupling & Portability
Priority: Medium
Phase: Phase 3 (Embeddings + dense retrieval)
Problem
Swapping the embedder later requires a full re-embed plus schema migration, since the dimension is baked into
vector(N).Solution
Two changes, together making an embedder swap additive rather than in-place.