http4k-ai-core
Toggle table of contents
6.20.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-ai-core
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)
)
(
source
)
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
?
output
Link copied to clipboard
val
output
:
Int
?
total
Link copied to clipboard
val
total
:
Int
?