Class: LiterLlm::PromptTokensDetails

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePromptTokensDetails

Returns a new instance of PromptTokensDetails.

Parameters:

  • cached_tokens: (Integer)
  • audio_tokens: (Integer)


149
# File 'sig/types.rbs', line 149

def initialize: (?cached_tokens: Integer, ?audio_tokens: Integer) -> void

Instance Attribute Details

#audio_tokensInteger?

Returns the value of attribute audio_tokens.

Returns:

  • (Integer, nil)


147
148
149
# File 'sig/types.rbs', line 147

def audio_tokens
  @audio_tokens
end

#cached_tokensInteger?

Returns the value of attribute cached_tokens.

Returns:

  • (Integer, nil)


146
147
148
# File 'sig/types.rbs', line 146

def cached_tokens
  @cached_tokens
end