openai-java
openai-java copied to clipboard
How to count tokens?
How to count tokens?
I do think that currently there is now way to count tokens in Java (before sending the request of course); if this is a requirement to you, you should switch to the official Python library, which has such feature.