Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]对话无法命中知识库中的答案 #365

Closed
tianma630 opened this issue May 6, 2024 · 2 comments
Closed

[BUG]对话无法命中知识库中的答案 #365

tianma630 opened this issue May 6, 2024 · 2 comments

Comments

@tianma630
Copy link

联系方式

tianma630@foxmail.com

MaxKB 版本

1.1.1

问题描述

在应用的命中测试页面可以命中具体的知识库中的答案,但是在对话也没无法命中知识库中的答案
3552088557
3682855988

重现步骤

正常吵架知识库和应用

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@baixin513
Copy link
Contributor

baixin513 commented May 7, 2024

需要确认一下提示词中是否包含了 命中分段 {data} 占位符。
如果提示词中没有 {data},问答时不会携带命中分段。

@baixin513
Copy link
Contributor

命中测试可以命中分段, 演示对话中若无法命中分段可能是你开启了问题优化,优化后的问题没有命中分段,可以关闭分段再试一下。该 issue 先关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants