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)


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

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

Instance Attribute Details

#audio_tokensInteger (readonly)

Returns the value of attribute audio_tokens.

Returns:

  • (Integer)


666
667
668
# File 'sig/types.rbs', line 666

def audio_tokens
  @audio_tokens
end

#cached_tokensInteger (readonly)

Returns the value of attribute cached_tokens.

Returns:

  • (Integer)


665
666
667
# File 'sig/types.rbs', line 665

def cached_tokens
  @cached_tokens
end