Class: OpenAI::Models::Audio::TranscriptionDiarized::Usage::Tokens::InputTokenDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Audio::TranscriptionDiarized::Usage::Tokens::InputTokenDetails
- Defined in:
- lib/openai/models/audio/transcription_diarized.rb,
sig/openai/models/audio/transcription_diarized.rbs
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
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, meta_info, 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 ⇒ Object
103 |
# File 'sig/openai/models/audio/transcription_diarized.rbs', line 103
def initialize: (
|
Instance Attribute Details
#audio_tokens ⇒ Integer?
Number of audio tokens billed for this request.
116 |
# File 'lib/openai/models/audio/transcription_diarized.rb', line 116 optional :audio_tokens, Integer |
#text_tokens ⇒ Integer?
Number of text tokens billed for this request.
122 |
# File 'lib/openai/models/audio/transcription_diarized.rb', line 122 optional :text_tokens, Integer |
Instance Method Details
#to_hash ⇒ { audio_tokens: Integer, text_tokens: Integer }
108 |
# File 'sig/openai/models/audio/transcription_diarized.rbs', line 108
def to_hash: -> { audio_tokens: Integer, text_tokens: Integer }
|