Implement qdrnt. dify 0.6.12 #5883
Replies: 2 comments 8 replies
-
Hello, @koryakovda! I'm here to help you with your Dify issue. I can assist with bug fixes, answer questions, and guide you through becoming a contributor. Let's tackle this problem together! To successfully change your VECTOR_STORE from Weaviate to Qdrant on your Windows machine using Dify version 0.6.12, follow these steps:
Additionally, ensure that the necessary ports (6333 and 6334) are not blocked by your Windows firewall or any other network security settings. You may need to create firewall rules to allow traffic on these ports [1][2][3][4][5]. |
Beta Was this translation helpful? Give feedback.
-
According to logs I am obtaining 2 POST reguests to qdrnt database when testing RAG chatbot with Rerank model: -2024-07-02T14:06:35.595389Z INFO actix_web::middleware::logger: 172.25.0.8 "POST /collections/Vector_index_a6a954ed_8089_4b93_a51e_7bad75a9208a_Node/points/scroll HTTP/1.1" 200 6558 "-" "python-httpx/0.27.0" 0.034362 and one POST request when deliting knowlage:
4)Health Check Endpoint: "Qdrant service health check failed: [WinError 10061] No connection could be made because the target machine actively refused it"
@dosu doesent helps |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to change my VECTOR_STORE from Weaviate to Qdrant on my Windows.
1)In the previous version, it worked fine when I changed the VECTOR_STORE parameter in docker-compose.yaml. However, in the new version, the VECTOR_STORE parameter has been moved to the .env file.
I am using the 'docker compose up -d' command to start Docker with Dify.
Before running docker compose up -d, I changed the VECTOR_STORE in the .env file (line 244) to VECTOR_STORE=qdrant, but I can't access the Qdrant UI at http://localhost:6333/dashboard.
2)I also tried running Qdrant in a separate Docker container:
fceedcc16930 qdrant/qdrant "./entrypoint.sh" 3 hours ago Up About an hour 0.0.0.0:6333-6334->6333-6334/tcp elastic_driscoll
and changed (line 251) in the .env file:
The Qdrant endpoint URL. Only available when VECTOR_STORE is
qdrant
.QDRANT_URL=http://localhost:6333/ and http://host.docker.internal:6333
This didn't help.
3)I also tried running Qdrant in the cloud and changed:
(line 251) # The Qdrant endpoint URL. Only available when VECTOR_STORE is
qdrant
.QDRANT_URL=https://1722***fe3.us-east4-0.gcp.cloud.qdrant.io:6333
(line 254) # The Qdrant API key.
QDRANT_API_KEY=dgeq*****Fev
This didn't help either.
What do I need to change to make it work for all of these methods?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions