We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在前端判断字符长度,只能用累计的方法,中文字符就会不准确,然后就需要在后端统计content的总的token数吧,如果超出了的话,如何进行content的取舍呢,比如只留下第一问题和最后一个答案,如果这两个加一起也超过了input token的限制,应该如何取舍,有没有好的方案,或者作者是用的什么方案,学习一下
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在前端判断字符长度,只能用累计的方法,中文字符就会不准确,然后就需要在后端统计content的总的token数吧,如果超出了的话,如何进行content的取舍呢,比如只留下第一问题和最后一个答案,如果这两个加一起也超过了input token的限制,应该如何取舍,有没有好的方案,或者作者是用的什么方案,学习一下
The text was updated successfully, but these errors were encountered: