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

feat: allow knowledge base multiple search #1346 #1773

Merged
merged 6 commits into from
Feb 17, 2025

Conversation

eeee0717
Copy link
Collaborator

feat #1346 #1722
有一个小bug:如果之前查询问答的内容未查询到结果,在本次聊天仍会触发toast。
复现过程:

  1. 先询问一个知识库中无法查询的问题,会显示toast: '未查询到结果'
  2. 询问一个知识库中能找到的问题,问答中会显示数据库的引用,但仍会有toast: '未查询到结果'

CleanShot 2025-02-16 at 20 22 14@2x

CleanShot 2025-02-16 at 20 22 49@2x

看起来每一次询问都会获取历史记录,第三次询问时则会输出三段内容(两次历史,一次当前)
CleanShot 2025-02-16 at 20 25 11@2x

在BaseProvide/getMessageContent中加入console即可查看
CleanShot 2025-02-16 at 20 25 57@2x

@kangfenmao kangfenmao merged commit 266f909 into CherryHQ:main Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants