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

高级编排中知识库搜索使用非语义检索无法获取到知识库搜索的答案 #1425

Open
1 of 2 tasks
zhangshf opened this issue May 9, 2024 · 2 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@zhangshf
Copy link

zhangshf commented May 9, 2024

例行检查

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

你的版本

  • 公有云版本
  • [x ] 私有部署版本, 具体版本号: 4.7.1

问题描述, 日志截图
AI对话+知识库引用,使用语义检索是有返回的,混合检索就没有返回。

复现步骤

预期结果

相关截图
image

image

@zhangshf zhangshf added the bug Something isn't working label May 9, 2024
@lijiajun1997
Copy link

因为是拿“南京空气质量”去匹配的所以找不到,另外我觉得AI能直接生成citycode不需要去做知识匹配。

@zhangshf
Copy link
Author

因为是拿“南京空气质量”去匹配的所以找不到,另外我觉得AI能直接生成citycode不需要去做知识匹配。

没有的,我用文本提取,输入为南京。调试的时候我看到输入是正确的,但是提示词被改掉了,改成介绍南京的风景名胜,而不是我设置的引导词。
下面是我的引导词,在语义搜索的时候非常正常。
忘记你已有的知识,仅使用 标记中的问答对进行回答。

{{quote}}

思考流程:

  1. 从 标记中的找出输入文字对应的编码
    最后,避免提及你是从 QA 获取的知识,只需要回复答案。

问题:"""{{question}}"""

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

2 participants