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.78k stars 4.48k forks source link

通义千问VL:qwen-vl-v1模型,报错 #2178

Closed sdytzjp closed 1 month ago

sdytzjp commented 1 month ago

4.8.7 通义千问VL:qwen-vl-v1模型,报错。通过oneapi渠道测试成功。 但是fastgpt报错 image 虽然fastgpt报以上错误,但是在oneapi看日志,发现还是找到了模型。(渠道6对应的qwen-vl-v1) image image

使用CURL命令测试,提示URL错误(图片的连接是可以打开的)。针对多模态模型后面的地址对吗:/v1/chat/completions

curl --location --request POST 'http://172.16.1.219:3001/v1/chat/completions' --header 'Authorization: Bearer sk-fastgpt' --header 'Content-Type: application/json' --data '{ "model": "qwen-vl-v1", "max_tokens": 400, "messages": [ { "role": "user", "content": [ {"image": "https://q8.itc.cn/c_lfill,w_640,h_426,g_face/images03/20240727/f2b8942be4c74a7b94e55f6b900632aa.jpeg"}, {"text": "这是什么?"} ] } ] }'

{"error":{"message":"url error, please check url! (request id: 2024072620311947445322302636794)","type":"upstream_error","param":"400","code":"bad_response_status_code

image

image

c121914yu commented 1 month ago

直接 curl oneapi 报错的话,说明 oneapi 未支持。提问模型问题前,请先提供 oneapi curl 成功示例,不成功的可以直接到 oneapi 提。oneapi 成功,fastgpt 失败的,提供 fastgpt 日志。

ifkd111 commented 1 month ago

直接 curl oneapi 报错的话,说明 oneapi 未支持。提问模型问题前,请先提供 oneapi curl 成功示例,不成功的可以直接到 oneapi 提。oneapi 成功,fastgpt 失败的,提供 fastgpt 日志。

救命啊,求问,教程,我只想把多模态接到fastgpt里去,求求给个教程吧,亲