mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-21 09:55:25 -04:00
上传的文档可以支持输出文档中的图片吗? #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yc-China on GitHub (Feb 27, 2025).
文档中包含一个指引示例图片,目前聊天框无法正确展示出来,这个是可以设置吗?
@dosubot[bot] commented on GitHub (Feb 27, 2025):
@Yc-China 你好!我是一个可以帮助您解决 bug、回答问题,并成为贡献者的机器人。我叫 Dosu,如果您需要帮助,我随时可以为您效劳。
是的,上传的文档可以支持输出文档中的图片。Dify 已将图片上传功能整合到更全面的“文件上传”功能中。开发者可以在应用中启用文件上传功能,并选择支持的文件类型,包括图片文件(如 JPG, JPEG, PNG, GIF, WEBP, SVG)。在 LLM 节点中,可以直接使用文件变量来处理这些图片文件[1][2]。
如果聊天框无法正确展示图片,建议检查以下几点:
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