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.
例行检查
你的版本
问题描述, 日志截图
如图所示,我将工具参数的变量a类型设置为array
当对话触发工具调用时,如果变量a有两个元素(比如a1和a2),错误的分成了两条记录{"a": "a1"}、{"a": "a2"},如下图所示:
以上问题,只有gpt-4o-mini的时候会出现,但是调用gpt-3.5-turbo则是正常的(即只有一行记录为{"a": ["a1","a2"]})
预期结果 工具调用采用gpt-4o-mini能正确展示应该只有一条记录,应该是 {"a": ["a1","a2"]} 相关截图