private-gpt
private-gpt copied to clipboard
Connection to an external Qdrant instance is not working
Connection to an external qdrant instance is not working anymore. It was working in the last release.
My changes in settings.yaml are:
vectorstore:
database: qdrant
qdrant:
url: http://localhost:6333
port: 6333
host: localhost
https: false
The error message that I get when I am running make run is:
ValueError: Only one of <location>, <url>, <host> or <path> should be specified.
but there is no path anymore.
You cannot specify values for both url and host. Remove either one.
It is working fine with
qdrant:
location: "127.0.0.1:6333"
or removing the qdrant it will default to localhost:6333 where my Docker qdrant is listening
Could you try
qdrant:
url: https://<your_cloud_instance_url>:6333
api_key: xxxxxxx
??
Could you try
qdrant: url: https://<your_cloud_instance_url>:6333 api_key: xxxxxxx??
I am using a Qdrant in a Docker on the same server with privateGPT. I don't have a cloud instance. But using the
qdrant:
url: "http://localhost:6333"
is working fine, unless I am not restarting the privateGPT, in which case if the collection exists then I have the error from this issue.
Using location OR url is working fine to connect to an external Qdrant
Using
locationORurlis working fine to connect to an external Qdrant
Hey,
could you please provide more info on how did you make it? i´d like to host qdrant on a server (the same server quehre i´m currentlly hosting Ollama) so i can centrallize both LLM and DB in the same server and every user can access from their local computer via browser.
Hi, this is the setting for quadrant in settings.xml. I am using it deployed in a Docker
qdrant: url: "http://localhost:6333"