langgenius / langgenius/dify

その他のファイル形式が読み込めない。Files uploaded as "Other file types" cannot be read by the LLM.

Open
#41,236 4 comments 1 reaction 0 assignees View on GitHub
🐞 bug
Dominant language
TypeScript
Stars
156k
Forks
24.6k
Avg merge
22h 9m
Merged PRs (30d)
610

Description

### Self Checks

- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- [x] Please do not modify this template :) and fill in all the required fields.

### Dify version

1.16.1

### Cloud or Self Hosted

Self Hosted (Docker)

### Steps to reproduce

Image

開始ノードで単一ファイルの変数を作成し、その他のファイル形式として設定します。 その変数をLLMノードに渡しても中身を確認することができないようです。 単一ファイルの変数を画像や音声に設定すると、ファイルの中身が読むことができます。

1. Create a **Single File** variable in the Start node.
2. Set the supported file type of the variable to **Other File Types**.
3. Pass the Single File variable to an LLM node.
4. Upload a file and run the workflow.
5. The LLM appears to be unable to read or access the contents of the uploaded file.

### ✔️ Expected Behavior

その他のファイル形式を選んだ場合でも、LLMが内容を確認できる。

The LLM should be able to read and access the contents of the file even when "Other File Types" is selected.

### ❌ Actual Behavior

Image

その他のファイル形式を選んだ時だけ、LLMがファイルの中身を確認できない。
これはクラウド版でもDocker版でも発生します。

The LLM cannot read the contents of the file only when "Other File Types" is selected. This issue occurs in both the Dify Cloud version and the self-hosted Docker version.

Contributor guide

Open the contributing guide

Research direction

Reproduce the workflow using a Start-node Single File variable set to Other File Types and pass it to an LLM node, as described in the issue. Trace how that file type is handled between the Start and LLM nodes in both cloud and Docker deployments; the work is done when the LLM can access the uploaded file contents for Other File Types.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.