# How should I migrate a RAG application to a different embedding model?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Optimize generative AI systems and model performance
Updated: 2026-11-25T04:35:46.600367+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-migrate-embedding-model-matching-vectors.html

## Also asked as

- How can I switch embedding models without mixing old document vectors and new query vectors?
- What matching vector and query configuration do I need for an embedding-model cutover and rollback?

Regenerate document vectors with the candidate embedding model and use that same model for queries. Matching vector dimensions and successful requests do not make vectors from different models interchangeable.

Treat the transition as a retrieval-system change. Prepare a separate compatible candidate artifact following the chosen index/field configuration. Validate document coverage, chunk/source mapping, query behavior and independent retrieval/answer quality before cutover. Integrated vectorization still depends on an external model and does not remove this compatibility contract.

Version the document-vector artifact, query vectorizer/model and routing configuration together. Avoid an intermediate state where the new query model searches the old representation. Retain the previous artifact and its usable matching query path until acceptance and recovery conditions are met.

Define who can switch the application, what triggers recovery and how the restored path will be verified. Budget for re-vectorization, temporary duplicate storage, model access and retained resources, then assign cleanup after acceptance or rejection. A rollback requires a working compatible pair, not merely preserved old documents.

**Microsoft Learn**

* [Generate embeddings for search queries and documents](https://learn.microsoft.com/en-us/azure/search/vector-search-how-to-generate-embeddings)
* [Relevance in vector search](https://learn.microsoft.com/en-us/azure/search/vector-search-ranking)

Source: [AI-300: Selecting and Adapting Embedding Models](https://learningpathx.com/news/ai-300-selecting-and-adapting-embedding-models.html)
