英文:
Does OpenAi count tokens in the answer too?
问题
如果我向OpenAi发出请求,答案是否也计入令牌中,还是只有问题计入令牌中?
英文:
I started to read about OpenAi and the tokens, but I have one thing, that I didn't find.
If I make a request to OpenAi, does the answer count in the tokens too, or only the question?
答案1
得分: 1
当询问OpenAI GPT-3一个问题时,您可以悬停在文本框右下角的标记数量上,以查看您的查询使用了多少标记,以及预期响应使用了多少标记。它将这两者结合在一起,这就成为使用的标记数量。
是的,它在标记计数中同时计算问题和答案。
英文:
When OpenAI GPT-3 is asked a question, you can hover over the token amount on the bottom right of the text box to see how many tokens your query has, and how many the expected response has. It combines these, and that becomes the amount of tokens used.
So yes, it counts both the question and answer in the token count.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论