Skip to content

Record embedder model/dimension and stub re-embed migration #15

Description

@sid-ak

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions