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

问的问题明明知识库中有,但是返回并没有如预期一样,该怎么操作? #1996

Open
6 of 7 tasks
ifkd111 opened this issue Jul 9, 2024 · 9 comments
Open
6 of 7 tasks
Labels
bug Something isn't working

Comments

@ifkd111
Copy link

ifkd111 commented Jul 9, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号:

问题描述, 日志截图

复现步骤

预期结果

相关截图

@ifkd111 ifkd111 added the bug Something isn't working label Jul 9, 2024
@ifkd111
Copy link
Author

ifkd111 commented Jul 9, 2024

比如我的知识库内:一般命令是:1-20条,较重命令是21-41条,严重是42-50条。当我提问:一般命令有哪些时,预期AI能回答我:1-20条,并列出详细内容。但是现在我提问一般违规时,他会回答严重违规或者较重违规的答案。
怎么才能精准命中呢?我用的混合检索模式。

@c121914yu
Copy link
Collaborator

c121914yu commented Jul 9, 2024

精准=不全用 ai,而是用 ai+代码逻辑

@ifkd111
Copy link
Author

ifkd111 commented Jul 11, 2024

精准=不全用 ai,而是用 ai+代码逻辑

所以,我该怎么弄呢?现在发现问题是,语义检索能检索到“一般XX”,但是“严重XX”就检索不到,开启混合就“一般”检索不到,见鬼了

1 similar comment
@ifkd111
Copy link
Author

ifkd111 commented Jul 11, 2024

精准=不全用 ai,而是用 ai+代码逻辑

所以,我该怎么弄呢?现在发现问题是,语义检索能检索到“一般XX”,但是“严重XX”就检索不到,开启混合就“一般”检索不到,见鬼了

@lijiajun1997
Copy link

编排发一下

@c121914yu
Copy link
Collaborator

发点图,本来以为看懂你的问题~你再说,完全看不懂了

@ifkd111
Copy link
Author

ifkd111 commented Jul 18, 2024 via email

@sdytzjp
Copy link

sdytzjp commented Jul 18, 2024

换模型,优化知识库内容,调提示词

@caifanfan
Copy link

AI没有那么聪明,本质还是概率生成,所以,要么换更聪明的模型,要么调提示词,告诉模型什么是什么,按什么标准回答。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants