RAG embedding model dimension mismatch after deployment update
Problem Description The RAG (Retrieval‑Augmented Generation) service deployed on a Kubernetes cluster began returning vector dimension mismatch errors after a routine rolling update. The symptoms observed across multiple pods were: FAISS index load failures: ValueError: Expected embedding dimension 768 but got 1024 Cosine‑similarity runtime errors: RuntimeError: shape mismatch for dot product: (batch, 768) vs (batch, … Read more