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

插件无效,有图有真相,求教大佬 #2345

Closed arraycto closed 1 month ago

arraycto commented 1 month ago

例行检查

你的版本

新建简易应用即可复现。

img_v3_02dm_0d618c79-ffb2-4276-9d10-ca4820510b2g

预期结果

相关截图

c121914yu commented 1 month ago
image

检查模型配置是否支持 tool,不支持就别设置 tool 模式

arraycto commented 1 month ago

采用qwen2:1.5b的模型,配置如下设置了支持,是不是模型本身的原因或者私有化不支持插件的使用?@c121914yu

配置 ` { "model": "qwen2:1.5b", "name": "qwen2:1.5b", "maxContext": 32000, "avatar": "/imgs/model/qwen.svg", "maxResponse": 5000, "quoteMaxToken": 5000, "maxTemperature": 1.2, "charsPointsPrice": 0, "censor": false, "vision": true, "datasetProcess": true, "usedInClassify": true, "usedInExtractFields": true, "usedInToolCall": true, "usedInQueryExtension": true, "toolChoice": true, "functionCall": true, "customCQPrompt": "", "customExtractPrompt": "", "defaultSystemChatPrompt": "", "defaultConfig": {} }, { "model": "glm4:9b", "name": "glm4:9b", "maxContext": 32000, "avatar": "/imgs/model/glm4.svg", "maxResponse": 50000, "quoteMaxToken": 50000, "maxTemperature": 1.2, "charsPointsPrice": 0, "censor": true, "vision": true, "datasetProcess": true, "usedInClassify": true, "usedInExtractFields": true, "usedInToolCall": true, "usedInQueryExtension": true, "toolChoice": true, "functionCall": true, "customCQPrompt": "", "customExtractPrompt": "", "defaultSystemChatPrompt": "", "defaultConfig": {} },

`