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

[Feature] 增加当前对话轮次和会话的token消耗统计 #53

Closed
exusiaiwei opened this issue Jul 11, 2024 · 0 comments · Fixed by #55
Closed

[Feature] 增加当前对话轮次和会话的token消耗统计 #53

exusiaiwei opened this issue Jul 11, 2024 · 0 comments · Fixed by #55
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@exusiaiwei
Copy link

exusiaiwei commented Jul 11, 2024

功能描述 / Feature Description

目前小幻助理的会话界面中没有对当前对话轮次和当前会话的字数和消耗token数的统计,如果加上相关信息的话,将会有利于估计当前对话上下文消耗了多少token

备选方案 / Alternatives

No response

附加信息 / Additional Information

目前我看到一些相关项目有类似的实现,例如:chatbox,lobechat,这种实现方式可供参考

image

image

@exusiaiwei exusiaiwei added the enhancement New feature or request label Jul 11, 2024
@Richasy Richasy added this to the 2407 milestone Jul 11, 2024
@Richasy Richasy mentioned this issue Jul 11, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants