langchain-ai / langchain-postgres

LangChain abstractions backed by Postgres Backend
MIT License
134 stars 48 forks source link

any documentation for migration from old PGVector to the new one? #142

Open arezazadeh opened 1 week ago

arezazadeh commented 1 week ago

are there any documentaion for migrating from old PGVector to the new one? I have lots of user's data sitting in my database and i do not want to lose them. and there is no proper documentation that shows the migration process without losing data

arezazadeh commented 1 week ago

ok i figured it out, i had to build the db on a new machine with new pgvector to see the difference.

If you are facing the same issue follow below steps:

also they have changed bunch of other stuff like arguments to PGVector class, be mindful of those as well.