Can vectorizer embedding model be changed while in service?

Please understand that my questions may be very basic.

If I build and operate a service using a specific embedding model (vectorizer) such as multi2vec-bind, and need to change the embedding model for some reasons (due to new better model or custom model), how can I update the vectorizer model while it’s in service?

Also, in the case above, will all the data stored in the DB become useless? (Is it necessary to vectorize everything again?)

Thank you.

hi @Min !!

You got it right.

You cannot change the vectorizer without vectorizing all your data using the new vectorizer.

Note that the vectorizer is a non mutable configuration of your collection:

So what you’ll need to do is to create a new collection with the configurations you want, and copy your data over so it triggers a new vectorization.

We have a nice example here:

Let me know if that helps!

THanks!

1 Like