Qdrant: 'Vector dimension error: expected dim: 1536, got 768' after switching embedding models
@devsingh05▲ 10 net votes
A collection is created with a fixed vector size (VectorParams(size=..., distance=Distance.COSINE)), and every upsert and query must match it. Changing embedding model (OpenAI to a local sentence-transformer, or between model sizes) changes the dimension, so old collections reject new vectors. Create a new collection for the new model and re-embed everything; vectors from different models are not comparable even when sizes match.