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

OpenAISSEEventSourceListener里面的token计算数量跟TikTokensUtil.tokens计算结果不一致? #26

Open
tanxiuguang opened this issue May 3, 2023 · 0 comments

Comments

@tanxiuguang
Copy link

把onEvent里的回答拼接成一个字符串,用TikTokensUtil.tokens得出的记过比OpenAISSEEventSourceListener里累加的token要多10%,不太明白为什么要采用累加的方法计算token?

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

No branches or pull requests

1 participant