chatbox icon indicating copy to clipboard operation
chatbox copied to clipboard

多轮对话的token estimate问题

Open HXX97 opened this issue 1 year ago • 0 comments

调用OpenAI的API进行多轮对话时,需要把前置的message和response都传入请求,这些内容的token也将被累积计费: https://platform.openai.com/docs/guides/chat/introduction

而ChatBox终的token estimate似乎只显示当前输入内容的token长度,而非累积的token长度。是否可以增加一个累积token estimate?

image

HXX97 avatar Mar 23 '23 04:03 HXX97