Class: Tep::Llm::Response

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResponse

Returns a new instance of Response.



498
499
500
501
502
# File 'lib/tep/llm.rb', line 498

def initialize
  @content     = ""
  @role        = ""
  @stop_reason = ""
end

Instance Attribute Details

#contentObject

Returns the value of attribute content.



496
497
498
# File 'lib/tep/llm.rb', line 496

def content
  @content
end

#roleObject

Returns the value of attribute role.



496
497
498
# File 'lib/tep/llm.rb', line 496

def role
  @role
end

#stop_reasonObject

Returns the value of attribute stop_reason.



496
497
498
# File 'lib/tep/llm.rb', line 496

def stop_reason
  @stop_reason
end