-
Notifications
You must be signed in to change notification settings - Fork 59.7k
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
[Feature Request] 允许自定义生成聊天标题的模型 #5646
Comments
Title: [Feature Request] allows customizing the model for generating chat titles 🥰 Feature DescriptionFor example, use o1 to chat and 4o-mini to generate titles. The price of 4o-mini and o1 becomes 1/100 🧐 Proposed SolutionAdd a model option for generating chat titles, set max_token to 200, and it will be dead. 📝 Additional InformationNo response |
This doesn’t feel very clear, so I can add: It can also be used as a title generation model. |
嗯你说的对 |
Well you are right |
另外有个必现的bug, 我如果把模型设置为:o1-mini 压缩模型设置为 4o mini 聊天2次,标题生成错误: |
对话标题生成错误的问题已经在着手解决了,对于这类错误将不替换标题名称: #5579 |
The problem of incorrect conversation title generation is already being resolved. For such errors, the title name will not be replaced: #5579 |
建议生成标题时直接定死max completion token = 300,就不会错了 |
It is recommended to directly set max completion token = 300 when generating the title, and you will not be wrong. |
这个方案不好 |
|
修改 max_tokens 仅仅是适配你 o1 遇到的问题,实际上属于你调用模型的设置参数不正确,并不能彻底解决标题生成错误这类问题,别人使用其他模型也可能遇到各种标题生成报错。前述 pr 想解决的是标题不被错误消息污染的问题。 |
Modifying max_tokens is just to adapt to the problem you encountered with o1. In fact, the setting parameters of the model you called are incorrect, and it cannot completely solve the problem of title generation errors. Others using other models may also encounter various title generation errors. The aforementioned PR solves the problem of titles not being polluted by error messages. |
|
|
包括但不限于图中错误: |
Including but not limited to errors in pictures: |
明白,谢谢 |
Got it, thank you |
当然标题生成错误时是否应该替换,也是之前作者决定不更改默认标题的( #5494 ),前述pr只是想在当前解决方案下覆盖多一些错误类型。但鉴于目前已经增加手动重新生成标题的功能了,让错误输出在标题处未尝不是一种鲜明的提醒 😂 |
Of course, whether the title should be replaced when an error is generated is also the author's previous decision not to change the default title (#5494). The aforementioned PR just wants to cover it under the current solution. More error types. But since the function of manually regenerating the title has been added, having the error output in the title is a clear reminder 😂 |
🥰 Feature Description
比如用o1聊天,用4o-mini生成标题。4o-mini和o1比价格变为1/100
🧐 Proposed Solution
加个生成聊天标题的模型选项,max_token 设置为200,定死就行
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: