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

压缩历史记录和摘要功能 #289

Open
swuecho opened this issue May 2, 2023 · 3 comments
Open

压缩历史记录和摘要功能 #289

swuecho opened this issue May 2, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@swuecho
Copy link
Owner

swuecho commented May 2, 2023

有压缩历史记录和摘要功能,不清楚怎么做到的

image

Originally posted by @oneisall8955 in #284 (comment)

@swuecho
Copy link
Owner Author

swuecho commented May 2, 2023

盲猜是用chatgpt api 做总结, 然后当消息替换被总结的消息

这个要搞起来可能麻烦一点.

@swuecho
Copy link
Owner Author

swuecho commented May 2, 2023

既然用api 做总结, 那么也可以考虑快照的时候自动生成上下文, 自动做分词. 提取tag 等

@swuecho swuecho added enhancement New feature or request help wanted Extra attention is needed labels May 3, 2023
@swuecho
Copy link
Owner Author

swuecho commented Jun 10, 2023

  • token > 300, summarize
  • 开启总结模式, 不需要选上下文数目, 所有都在, 超出报错.
  • use llm_summary if available when construct request message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant