dify icon indicating copy to clipboard operation
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

Open lzzzzzzzzz opened this issue 8 months ago • 3 comments

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 微信图片_2222 then i saw ollama log ollama_error and i review pdf, i seems like There are multiple line breaks on the last page of the document

  1. 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) 微信截图_20240618171311

✔️ Expected Behavior

1.upload pdf success 2.If the PDF upload fails, the records in the library can be deleted completely

❌ Actual Behavior

  1. upload pdf error
  2. delete upload records, there are still residual records in the knowledge base

lzzzzzzzzz avatar Jun 18 '24 09:06 lzzzzzzzzz