TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.
https://superagi.com/
MIT License
15.22k stars 1.83k forks source link

pinecone and qdrant "unable to connect database" #1388

Open yf007 opened 8 months ago

yf007 commented 8 months ago

⚠️ Check for existing issues before proceeding. ⚠️

Where are you using SuperAGI?

Windows

Which branch of SuperAGI are you using?

Main

Do you use OpenAI GPT-3.5 or GPT-4?

GPT-4

Which area covers your issue best?

Installation and setup

Describe your issue.

After all the installations when I try to connect the my pinecone account And I enter the correct data according to this guide https://superagi.com/docs/Core%20Components/Vector%20Database/pinecone

I get the error "unable to connect database".

This is how it is in all pinecone and qdrant vectors.

How to replicate your Issue?

.

Upload Error Log Content

backend-1 | INFO: 172.20.0.7:49566 - "POST /vector_dbs/connect/pinecone HTTP/1.0" 400 Bad Request proxy-1 | 172.20.0.1 - - [07/Jan/2024:00:41:26 +0000] "POST /api/vector_dbs/connect/pinecone HTTP/1.1" 400 39 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"

abidm44 commented 6 months ago

im also getting the same error

anthonykasabian commented 5 months ago

Same over here

islam-str commented 5 months ago

I'm getting the same error. The situation is the same with both Qdrant and Pinecone. Additionally, when I click on the settings icon, an error modal pops up.

Screenshot_47

hayzem commented 5 months ago

I had the similar issue and worked after upgrading pinecone-client to the v3. v2 does not supper serverless deployments.

Created a PR here: https://github.com/TransformerOptimus/SuperAGI/pull/1416

Let me know if it also solves this issue.