---
title: "Comment by Ahmet Özel on \"Switching Embedding Models? Every Vector Needs a Recipe ID\" | Hashnode"
description: "Database column constraints only validate vector length and silently accept incompatible spaces, which is why swapping ada-002 for text-embedding-3-small—or dro"
url: "https://hashnode.com/posts/switching-embedding-models-re-embed-vectors/6b03c26440bb7b68d4d8bf6b/comment/6b04bd745d6ca382781d7ee4"
---

[Discussion](https://hashnode.com/posts/switching-embedding-models-re-embed-vectors/6b03c26440bb7b68d4d8bf6b)

Comment [Switching Embedding Models? Every Vector Needs a Recipe ID](https://hashnode.com/posts/switching-embedding-models-re-embed-vectors/6b03c26440bb7b68d4d8bf6b)

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[9h ago](https://hashnode.com/posts/switching-embedding-models-re-embed-vectors/6b03c26440bb7b68d4d8bf6b/comment/6b04bd745d6ca382781d7ee4)

Database column constraints only validate vector length and silently accept incompatible spaces, which is why swapping ada-002 for text-embedding-3-small—or dropping an asymmetric query/document prefix—produces confident-looking garbage instead of an error. Attaching an explicit recipe ID covering model, prefix, normalization, and chunker version turns all six silent mismatches into loud, enforceable checks.

Keeping the recipe ID on both the stored vectors and the query path also makes blue-green re-embedding migrations straightforward, since queries can filter strictly to the active recipe generation until backfill finishes.
