Class: OpenAI::Models::Audio::TranscriptionTextDoneEvent::Usage::InputTokenDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Audio::TranscriptionTextDoneEvent::Usage::InputTokenDetails
- Defined in:
- lib/openai/models/audio/transcription_text_done_event.rb
Overview
Instance Attribute Summary collapse
-
#audio_tokens ⇒ Integer?
Number of audio tokens billed for this request.
-
#text_tokens ⇒ Integer?
Number of text tokens billed for this request.
Instance Method Summary collapse
-
#initialize(audio_tokens: nil, text_tokens: nil) ⇒ void
constructor
Details about the input tokens billed for this request.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(audio_tokens: nil, text_tokens: nil) ⇒ void
Details about the input tokens billed for this request.
|
# File 'lib/openai/models/audio/transcription_text_done_event.rb', line 144
|
Instance Attribute Details
#audio_tokens ⇒ Integer?
Number of audio tokens billed for this request.
136 |
# File 'lib/openai/models/audio/transcription_text_done_event.rb', line 136 optional :audio_tokens, Integer |
#text_tokens ⇒ Integer?
Number of text tokens billed for this request.
142 |
# File 'lib/openai/models/audio/transcription_text_done_event.rb', line 142 optional :text_tokens, Integer |