You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Changing vector size in model does not seem to update the database when doing a migration #3745
After doing a migration and applying it, I still get this error message when starting the server.
WARNING: The database does not match the target database:
- Table "rag_document" is not like the target database:
- Column "embedding" mismatch:
- expected vector dimension "768", found "1536".
To reproduce
Create a table with a vector field of dimension 1536. Create and apply migration.
Change the dimension to 768, create and apply a (forced) migration.
Start the server and the error message above is displayed.
Expected behavior
The vector dimension is expected to be correct (768 in the example above)
Library version
2.9
Platform information
MacOS
Additional context
No response
How experienced are you with this library?
Expert - Experienced and comfortable with using this library in complex projects
Activity