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: Support search info with search summary model #2443

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DeJeune
Copy link
Contributor

@DeJeune DeJeune commented Feb 26, 2025

  • Introduce new search summary model configuration in settings
  • Implement search summary prompt and model selection
  • Add support for generating search keywords across providers
  • Update localization files with new search summary model translations
  • Enhance web search functionality with search summary generation

- Introduce new search summary model configuration in settings
- Implement search summary prompt and model selection
- Add support for generating search keywords across providers
- Update localization files with new search summary model translations
- Enhance web search functionality with search summary generation
@DeJeune
Copy link
Contributor Author

DeJeune commented Feb 26, 2025

#2430

我大概的思路是每次总结关键词都用当前用户提问信息和上一次大模型的回答,总结之后交给搜索引擎。各位可以看下有没啥更好的思路,大家一起讨论,有bug的话明天改。

改进前

17405959364993457598978312753996

这个是聊天对话

image

这个是两次查询的关键词

image

@DeJeune
Copy link
Contributor Author

DeJeune commented Feb 26, 2025

总结模型用的是这个

image

@DeJeune
Copy link
Contributor Author

DeJeune commented Feb 26, 2025

bug: 聊天模型没等到搜索结果就补全了

@eeee0717
Copy link
Collaborator

今天正打算做呢,高效率👍,思路和你的一样,感觉没问题

@DeJeune DeJeune marked this pull request as ready for review February 27, 2025 02:26
@kangfenmao
Copy link
Collaborator

大家有空 review 下代码,我今天比较忙没时间看

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.

3 participants