dify
dify copied to clipboard
upload document embedding error & After deleting the failed document, the knowledge base will still retain the content of the failed document
Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
1.when i upload a pdf, web show error
then i saw ollama log
and i review pdf, i seems like There are multiple line breaks on the last page of the document
- When I delete the PDF that failed to upload, I can still retrieve records in the knowledge base(At least one other file in the knowledge base,otherwise no records will be queried)
✔️ Expected Behavior
1.upload pdf success 2.If the PDF upload fails, the records in the library can be deleted completely
❌ Actual Behavior
- upload pdf error
- delete upload records, there are still residual records in the knowledge base