toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.response
/
ResponseTokenCount
Response
Token
Count
@
Serializable
data
class
ResponseTokenCount
(
val
inputTokens
:
Int
,
val
objectType
:
String
?
=
null
)
Token estimate for a prospective response.
Members
Constructors
Response
Token
Count
Link copied to clipboard
constructor
(
inputTokens
:
Int
,
objectType
:
String
?
=
null
)
Properties
input
Tokens
Link copied to clipboard
@
SerialName
(
value
=
"input_tokens"
)
val
inputTokens
:
Int
Number of input tokens.
object
Type
Link copied to clipboard
@
SerialName
(
value
=
"object"
)
val
objectType
:
String
?
=
null
Object discriminator.