Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error while upserting data to pgvector [BUG] #2387

Open
Vladibik opened this issue May 10, 2024 · 1 comment
Open

500 error while upserting data to pgvector [BUG] #2387

Vladibik opened this issue May 10, 2024 · 1 comment
Labels
setup Setup related issues

Comments

@Vladibik
Copy link

Describe the bug
Error 500 trying to upsert any data to the pgvector.

To Reproduce
Steps to reproduce the behavior:

  1. Load chatflow
  2. Upsert the data to vector store

Expected behavior
I expect data to be upserted to the vector store.

Screenshots
The chatflow: https://prnt.sc/oeAMqosPVIRJ
The error: https://prnt.sc/3PzORcgPGX5z
The config of the Postgres in Flowise seems ok: https://prnt.sc/lXhkZUO40O8b (credentials double checked)
Postgres instance is available: https://prnt.sc/QVlRftDdlgmr - I'm not sure if the table structure is fine?

Flow
pgvector.json

Setup

  • Installation: npx flowise start
  • Flowise Version 1.7.2
  • OS: Windows
  • Browser Chrome

Additional context
Console log

2024-05-10 19:27:41 [ERROR]: [server]: Error: Error: Error: Error inserting: {text}
at buildLangchain (C:\Users\bikes\AppData\Roaming\npm\node_modules\flowise\dist\utils\index.js:331:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async App.upsertVector (C:\Users\bikes\AppData\Roaming\npm\node_modules\flowise\dist\index.js:1342:13)
    at async C:\Users\bikes\AppData\Roaming\npm\node_modules\flowise\dist\index.js:1014:13
@HenryHengZJ HenryHengZJ added the setup Setup related issues label May 13, 2024
@feihangyu
Copy link

Has this problem been solved? I've encountered it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Setup related issues
Projects
None yet
Development

No branches or pull requests

3 participants