ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: why always `nothing found in knowledge base` ?

Open wsy1111111 opened this issue 11 months ago • 5 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (Language Policy).
  • [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

Describe your problem

明明解析的知识块里面有相关数据 为什么一直说 知识库中未找到您要的答案! 数据集也有关联上了

Image

Image

Image

wsy1111111 avatar Apr 02 '25 02:04 wsy1111111

The system says "the knowledge base could not find the answer you want" because the prompt in the customer_service.json file is designed to include this sentence when all knowledge base content is irrelevant to the question. This behavior is explicitly defined in the prompt configuration [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Apr 02 '25 02:04 dosubot[bot]

你好,解决了吗?

Formyselfonly avatar Apr 02 '25 03:04 Formyselfonly

你好,成功了吗?

没有 好多问题 哈哈哈

wsy1111111 avatar Apr 02 '25 03:04 wsy1111111

我今天刚更新的最新版本,但是在知识库中的检索检测中能搜索出分块,但是在助手聊天中就查询不到问题,奇怪。之前的v0.17.2 full版本是可以的,后面经常更新夜间版本后现在不行了,我切换回v0.17.2 也不行了,无语了,现在正把所有都删除重新来一次,不行就没办法,只能等作者解决了

myplxdm avatar Apr 02 '25 06:04 myplxdm

Click the little lamp here to check what LLM recieved. Use the retrieval test to adjust parameters until relevant info retrieved.

Image

KevinHuSh avatar Apr 03 '25 01:04 KevinHuSh

Image 需要在提示引擎中配置变量 knowledge

RyanFlying avatar May 30 '25 07:05 RyanFlying

需要在提示引擎中配置变量 knowledge

为啥不能默认启用这个变量,搞半天才在这里找到答案

Zbaoli avatar Jul 11 '25 04:07 Zbaoli