ChatGPT-Java-API
2.0.2-SNAPSHOT
jvm
ChatGPT-Java-API
/
com.cjcrafter.openai.completions
/
CompletionUsage
/
CompletionUsage
Completion
Usage
constructor
(
promptTokens
:
Int
,
completionTokens
:
Int
,
totalTokens
:
Int
)
Parameters
prompt
Tokens
How many tokens the input used.
completion
Tokens
How many tokens the output used.
total
Tokens
How many tokens in total.