Class: LLMed::LLM::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/llm.rb

Instance Attribute Summary collapse

Instance Attribute Details

#duration_secondsObject

Returns the value of attribute duration_seconds

Returns:

  • (Object)

    the current value of duration_seconds



19
20
21
# File 'lib/llm.rb', line 19

def duration_seconds
  @duration_seconds
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



19
20
21
# File 'lib/llm.rb', line 19

def model
  @model
end

#providerObject

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



19
20
21
# File 'lib/llm.rb', line 19

def provider
  @provider
end

#source_codeObject

Returns the value of attribute source_code

Returns:

  • (Object)

    the current value of source_code



19
20
21
# File 'lib/llm.rb', line 19

def source_code
  @source_code
end

#total_tokensObject

Returns the value of attribute total_tokens

Returns:

  • (Object)

    the current value of total_tokens



19
20
21
# File 'lib/llm.rb', line 19

def total_tokens
  @total_tokens
end