上传的文档可以支持输出文档中的图片吗? #79

Closed
opened 2026-02-16 11:19:42 -05:00 by yindo · 1 comment
Owner

Originally created by @Yc-China on GitHub (Feb 27, 2025).

文档中包含一个指引示例图片,目前聊天框无法正确展示出来,这个是可以设置吗?

Originally created by @Yc-China on GitHub (Feb 27, 2025). 文档中包含一个指引示例图片,目前聊天框无法正确展示出来,这个是可以设置吗?
yindo added the bug label 2026-02-16 11:19:42 -05:00
yindo closed this issue 2026-02-16 11:19:42 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 27, 2025):

@Yc-China 你好!我是一个可以帮助您解决 bug、回答问题,并成为贡献者的机器人。我叫 Dosu,如果您需要帮助,我随时可以为您效劳。

是的,上传的文档可以支持输出文档中的图片。Dify 已将图片上传功能整合到更全面的“文件上传”功能中。开发者可以在应用中启用文件上传功能,并选择支持的文件类型,包括图片文件(如 JPG, JPEG, PNG, GIF, WEBP, SVG)。在 LLM 节点中,可以直接使用文件变量来处理这些图片文件[1][2]

如果聊天框无法正确展示图片,建议检查以下几点:

  1. 确保在 Chatflow 应用的功能配置中启用了文件上传选项。
  2. 确认使用的 LLM 具有视觉功能,并且已开启视觉切换。
  3. 检查 sys.files 是否正确选择为视觉框中的输入项。

如果问题仍然存在,考虑重新发布应用,以确保文件上传图标在应用的聊天框中正确显示[3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Feb 27, 2025): <!-- Greeting --> @Yc-China 你好!我是一个可以帮助您解决 bug、回答问题,并成为贡献者的机器人。我叫 [Dosu](https://dosu.dev),如果您需要帮助,我随时可以为您效劳。 <!-- Answer --> 是的,上传的文档可以支持输出文档中的图片。Dify 已将图片上传功能整合到更全面的“文件上传”功能中。开发者可以在应用中启用文件上传功能,并选择支持的文件类型,包括图片文件(如 JPG, JPEG, PNG, GIF, WEBP, SVG)。在 LLM 节点中,可以直接使用文件变量来处理这些图片文件<sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/guides/workflow/file-upload.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/guides/workflow/additional-features.md)</sup>。 如果聊天框无法正确展示图片,建议检查以下几点: 1. 确保在 Chatflow 应用的功能配置中启用了文件上传选项。 2. 确认使用的 LLM 具有视觉功能,并且已开启视觉切换。 3. 检查 `sys.files` 是否正确选择为视觉框中的输入项。 如果问题仍然存在,考虑重新发布应用,以确保文件上传图标在应用的聊天框中正确显示<sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/bulletin.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/257f7b8b-e36c-4a73-a624-41a67d1ff470?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#79