dify icon indicating copy to clipboard operation
dify copied to clipboard

The file upload functionality does not support non-image file formats.

Open kevintsai1202 opened this issue 1 year ago • 4 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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.13.2, 0.15

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Enable the Upload File feature. Go to settings and select Document & Image. After executing, the upload functionality does not allow file formats other than images to appear. 圖片 圖片

✔️ Expected Behavior

Uploaded files should include text file formats such as PDF, XLS, MD, etc.

❌ Actual Behavior

Only image files can be selected for upload.

kevintsai1202 avatar Dec 14 '24 06:12 kevintsai1202

Can this bug be fixed?

kevintsai1202 avatar Dec 30 '24 00:12 kevintsai1202

Hi, @kevintsai1202. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You reported a bug in the file upload functionality of the Dify application.
  • The issue is that only image files can be uploaded, while text file formats like PDF, XLS, and MD should also be supported.
  • This bug is present in versions 0.13.2 and 0.15 with the self-hosted Docker setup.
  • You inquired if this bug could be fixed.

Next Steps

  • Could you please confirm if this issue is still relevant in the latest version of the Dify repository? If so, feel free to comment to keep the discussion open.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Feb 13 '25 16:02 dosubot[bot]

Hi, @kevintsai1202. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.嗨,我是 Dosu,我正在幫助 Dify 團隊管理他們的待辦事項。我將此問題標記為過時。

Issue Summary 問題摘要

* You reported a bug in the file upload functionality of the Dify application.您報告了 Dify 應用程序中文件上傳功能的錯誤。

* The issue is that only image files can be uploaded, while text file formats like PDF, XLS, and MD should also be supported.問題是只能上傳圖像文件,而 PDF、XLS 和 MD 等文本文件格式也應該被支持。

* This bug is present in versions 0.13.2 and 0.15 with the self-hosted Docker setup.這個錯誤存在於使用自託管 Docker 設定的 0.13.2 和 0.15 版本中。

* You inquired if this bug could be fixed.您詢問過這個錯誤是否可以修復。

Next Steps 下一步

* Could you please confirm if this issue is still relevant in the latest version of the Dify repository? If so, feel free to comment to keep the discussion open.您能否確認這個問題在 Dify 儲存庫的最新版本中是否仍然存在?如果是,請隨時留言以保持討論開放。

* If there is no further activity, this issue will be automatically closed in 15 days.如果沒有進一步的活動,這個問題將在 15 天後自動關閉。

Thank you for your understanding and contribution!感謝您的理解與貢獻!

The issue still persists in the latest version.

kevintsai1202 avatar Feb 14 '25 00:02 kevintsai1202

@takatost, the user @kevintsai1202 has confirmed that the issue with file uploads still persists in the latest version of the Dify application. Could you please assist them with this bug?

dosubot[bot] avatar Feb 14 '25 00:02 dosubot[bot]