-
Notifications
You must be signed in to change notification settings - Fork 368
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
建议增加批量删除前面对话的一键操作 #27
Comments
右下角 |
右下角是全清,这样就没有上下文了。我说的是自动清理最上面一条,这样既不用每次手动清,又不会文本超出上限
| |
***@***.***
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | David ***@***.***> |
| 日期 | 2023年04月06日 21:30 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [xqdoo00o/chatgpt-web] 建议增加批量删除前面对话的一键操作 (Issue #27) |
右下角
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
自动的话,怎么确定要不要清呢,等我重设计好对话选项UI再看看 |
这个我是这样解决的,比如我使用的model 是 3.5turbo,max token 4096个,每次调用 chat接口设定的 最大token长度是 500(加上本次的prompt) 估成600吧,4096/600 = 6.8 左右, 那么我按每次最大来算 极限存储 6次对话。这个次数随着模型max token,设置的单次长度 变化,估一个大概也可以 |
每次对话超最大之后,都需要挨个删除前面无用的信息,需要增加一个选项,自动删除前面第一条消息。
The text was updated successfully, but these errors were encountered: