PGvector failed deployment
andreisovidiu
HOBBYOP

a year ago

Hi everyone, I am trying to deploy my project using PGvector. When deploying it says Deployment successful but then I get a 500 error when loading the app.
The server runs locally and retrieves the correct data (the columns were created), I am using the public DATABASE_URL variable (locally and in production), am I missing something?

Logs: I am getting the following error when trying to deploy (and not locally):
*AttributeError: 'PGVector' object has no attribute '_bind'

Update: I am also using LangChain if that can help.

Thank you.

Solved

4 Replies

andreisovidiu
HOBBYOP

a year ago

N/A


andreisovidiu
HOBBYOP

a year ago

Fixed it. There was a wrong ENV variable in the project, totally my mistake.


adam
MODERATOR

a year ago

Glad to hear it


adam
MODERATOR

a year ago

!s


Status changed to Solved adam 12 months ago


Loading...