← All workflows

Workflow

Embedding migration checklist

Re-embed into a separate index, compare recall on frozen queries and keep a rollback path when you switch embedding models.

Sources checked:

What you can do

Prepare a reversible index migration with model, dimension, chunking and retrieval checks.

LangChain exposes separate document and query embedding methods. A common interface does not make vectors from different models interchangeable, so build the new index beside the old one and test both retrieval paths separately.

Build your execution checklist

Inputs are processed in this browser only and cleared when you close or refresh the page.

You are changing the model, embedding dimension, chunking or distance metric.

Fill in the template

Template preview index-cutover.md

# Embedding migration
Old configuration: {{Old configuration}}
New configuration: {{New configuration}}
Source corpus snapshot/hash: {{Corpus snapshot}}
Destination index: {{Destination index}}
Evaluation query IDs and relevant document IDs: {{Retrieval fixtures}}
Recall@k threshold: {{Acceptance threshold}}
Write reconciliation plan: {{Write reconciliation}}
Rollback alias/endpoint: {{Rollback}}

Do not combine old-model document vectors with new-model query vectors, even if dimensions happen to match.
Cutover approved: pending
Rollback tested: pending

Read the full steps

Replace an embedding model

You are changing the model, embedding dimension, chunking or distance metric.

  1. Freeze a small retrieval set with relevant document IDs before changing anything.
  2. Record old and new model versions, dimensions, normalization, query instructions and chunking.
  3. Build a separate destination index from the original text; embed queries using the matching configuration.
  4. Shadow the same queries against both indexes and compare recall, latency and missing documents.
  5. Switch reads only after acceptance; keep the old path for rollback and reconcile writes during transition.
Template preview: index-cutover.md
# Embedding migration
Old configuration: {{Old configuration}}
New configuration: {{New configuration}}
Source corpus snapshot/hash: {{Corpus snapshot}}
Destination index: {{Destination index}}
Evaluation query IDs and relevant document IDs: {{Retrieval fixtures}}
Recall@k threshold: {{Acceptance threshold}}
Write reconciliation plan: {{Write reconciliation}}
Rollback alias/endpoint: {{Rollback}}

Do not combine old-model document vectors with new-model query vectors, even if dimensions happen to match.
Cutover approved: pending
Rollback tested: pending

Scope & limits

  • This page prepares the migration plan only; it does not create embeddings or indexes. Run the steps with the embedding provider you actually use.
  • Retrieval quality requires your corpus and labeled queries; dimension equality alone cannot validate it.

Questions & answers

Can I reuse existing vectors?
Only when the embedding configuration is unchanged and compatible. A model migration normally requires re-embedding original source text and testing retrieval.

Verified sources

Templates are authored by Kunavo. External product behavior depends on the linked sources and your account settings.