Open arezazadeh opened 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:
What has changes:
In
langchain_pg_embedding
they have removed theuuid
field withuuid field type
and replaced it withid
withcharacter varying
for whatever reason.
Solution
id
with char varying type, id
field ,uuid
to id
uuid
field. also they have changed bunch of other stuff like arguments to PGVector class, be mindful of those as well.
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