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://fastgpt.in
Other
16.94k stars 4.53k forks source link

4.8.9根据图片 文字 文件来选择不同的模型处理 #2347

Closed sdytzjp closed 1 month ago

sdytzjp commented 1 month ago

4.8.9可以识别问题中的文件链接 但是无法区分文件和图片

如果希望能够针对图片 文字 文件,由三个不同的模型来响应,该如何处理

c121914yu commented 1 month ago

文件后缀

sdytzjp commented 1 month ago

文件后缀

用if判断文件链接是否包括txt或者jpg不生效,一直走的else @c121914yu

image image image