You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're experiencing with empty Qdrant collections after uploading a file in Dify version 0.8.2 is due to the create method in the QdrantVector class not calling the add_texts method if the texts list is empty. This means that if no texts are provided, no data will be added to the collection.
In this code, the add_texts method is only called if texts is not empty. If texts is empty, the method returns without adding any data to the collection [1].
To resolve this, ensure that the texts list passed to the create method contains Document objects with the necessary page_content and metadata attributes [1][2].
hi @Anush008 hmmm there's no error on docker logs and the .md file upload actually went successful.. i'm just confused why the .md file i uploaded was in the ./volumes/app/storage path instead on my Qdrant collections:
Self Checks
Dify version
0.8.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
VECTOR_STORE: qdrant
QDRANT_URL:
QDRANT_API_KEY:
Create Knowlodge > Import From File > upload Markdown or CSV file. (upload successful)
Check Qdrant collections in SaaS but it's empty.. instead seems it's in my local ./volumes/app/storage
means Qdrant not in used?
✔️ Expected Behavior
After upload file it will go to Qdrant collections or i misunderstood it?
❌ Actual Behavior
Empty Qdrant Collections
The text was updated successfully, but these errors were encountered: