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.49k stars 4.69k forks source link

配置引用提示词不生效问题 #1521

Closed heart18z closed 5 months ago

heart18z commented 5 months ago

例行检查

你的版本

问题描述, 日志截图

如何在知识库检索不到相关引用数据时,让AI拒绝本次回答。 image image

复现步骤

预期结果

相关截图

nongmo677 commented 5 months ago

高级编排中,加入一个判断器

c121914yu commented 5 months ago

😂提示词对模型不一定有用,用 gpt4 试试

xiaoToby commented 5 months ago

😂提示词对模型不一定有用,用 gpt4 试试

非常赞同,并且相同的提示词用在不同的模型时,效果也不相同和稳定

xiaoToby commented 5 months ago

高级编排中,加入一个判断器

判断器真不知道该怎么使用,能提供一个案例吗?@nongmo677

xiaoToby commented 5 months ago

@heart18z
可以参考一下这个https://github.com/labring/FastGPT/issues/1545#issuecomment-2121646595