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: Use current model to generate summary title #1889

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidreis97
Copy link

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • ⚡️ perf
  • 📝 docs

🔀 变更说明 | Description of Change

Use the current model to generate a summary title for the topic

Copy link

vercel bot commented Apr 3, 2024

@davidreis97 is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @davidreis97

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@MapleEve
Copy link
Contributor

MapleEve commented Apr 4, 2024

这个功能我记得在RFC里面有提到,是要用户在设置页自定义使用一个模型做标题自动生成
相同的产品比如NextChat一类经常被人诟病的问题就是用了很贵的模型(MJ,TTS一类)然后又被自动请求生成标题

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I remember this function was mentioned in the RFC. It requires users to customize the use of a model on the settings page to automatically generate titles.
The problem that is often criticized for the same products such as NextChat is that they use very expensive models (MJ, TTS, etc.) and are automatically requested to generate titles.

@arvinxx
Copy link
Contributor

arvinxx commented Apr 4, 2024

I think it's a good method to use current model to summary the topic.

But as @MapleEve said, there is a fee issue with this change. So I think this method can be a config for user to choose whether use fixed model or agent's model, or just disable it.

As for this PR. I'm glad to set it as the default option. But the code need some improvement for merge. And I'll add my review soon.

Before merging it, I think I need to add the mode config firstly.

@arvinxx
Copy link
Contributor

arvinxx commented Apr 11, 2024

the relative PR: #1902

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.

None yet

4 participants