OpenAI::RealtimeBetaResponseUsageInputTokenDetails
Inherits JSON::Serializable < Reference < Object
Details about the input tokens used in the Response.
Constructors
new(pull : JSON::PullParser)
Sourcenew(cached_tokens : Int64 | Nil = nil, text_tokens : Int64 | Nil = nil, image_tokens : Int64 | Nil = nil, audio_tokens : Int64 | Nil = nil, cached_tokens_details : RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
The number of audio tokens used as input for the Response.
The number of cached tokens used as input for the Response.
cached_tokens_details=(cached_tokens_details : RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails | Nil)
Details about the cached tokens used as input for the Response.
The number of image tokens used as input for the Response.