labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.02k stars 4.55k forks source link

上传图片,不带文字就报错 #2346

Closed sdytzjp closed 1 month ago

sdytzjp commented 1 month ago

使用多模态模型,如果只上传图片,没有输入文字,模型就提示输入为空。这个体验不好,有没有思路解决

lijiajun1997 commented 1 month ago

加一个判断 问题为空 接入文本加工接到模型里 文本加工里写 请分析图片内容

sdytzjp commented 1 month ago

多谢。 图片和文件如何区分。 对于图片,可以用文本拼接——描述图片 对于文件需要用文档解析工具 而且希望 文件和图片用不同是模型响应

---原始邮件--- 发件人: @.> 发送时间: 2024年8月12日(周一) 晚上9:23 收件人: @.>; 抄送: @.**@.>; 主题: Re: [labring/FastGPT] 上传图片,不带文字就报错 (Issue #2346)

加一个判断 问题为空 接入文本加工接到模型里 文本加工里写 请分析图片内容

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

c121914yu commented 1 month ago

多谢。 图片和文件如何区分。 对于图片,可以用文本拼接——描述图片 对于文件需要用文档解析工具 而且希望 文件和图片用不同是模型响应

---原始邮件--- 发件人: @.> 发送时间: 2024年8月12日(周一) 晚上9:23 收件人: @.>; 抄送: @.**@.>; 主题: Re: [labring/FastGPT] 上传图片,不带文字就报错 (Issue #2346)

加一个判断 问题为空 接入文本加工接到模型里 文本加工里写 请分析图片内容

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

文件名后缀