toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
http4k-ai-core
/
org.http4k.ai.model
/
TokenUsage
Token
Usage
data
class
TokenUsage
(
val
input
:
Int
?
=
null
,
val
output
:
Int
?
=
null
,
val
total
:
Int
?
=
(input ?: 0) + (output ?: 0)
)
Members
Constructors
Token
Usage
Link copied to clipboard
constructor
(
input
:
Int
?
=
null
,
output
:
Int
?
=
null
,
total
:
Int
?
=
(input ?: 0) + (output ?: 0)
)
Properties
input
Link copied to clipboard
val
input
:
Int
?
=
null
output
Link copied to clipboard
val
output
:
Int
?
=
null
total
Link copied to clipboard
val
total
:
Int
?