Class: Regent::LLM::Result

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

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • the current value of content



5
6
7
# File 'lib/regent/llm/base.rb', line 5

def content
  @content
end

#input_tokensObject

Returns the value of attribute input_tokens

Returns:

  • the current value of input_tokens



5
6
7
# File 'lib/regent/llm/base.rb', line 5

def input_tokens
  @input_tokens
end

#modelObject

Returns the value of attribute model

Returns:

  • the current value of model



5
6
7
# File 'lib/regent/llm/base.rb', line 5

def model
  @model
end

#output_tokensObject

Returns the value of attribute output_tokens

Returns:

  • the current value of output_tokens



5
6
7
# File 'lib/regent/llm/base.rb', line 5

def output_tokens
  @output_tokens
end