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.



466
467
468
469
470
# File 'lib/tep/llm.rb', line 466

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

Instance Attribute Details

#contentObject

Returns the value of attribute content.



464
465
466
# File 'lib/tep/llm.rb', line 464

def content
  @content
end

#roleObject

Returns the value of attribute role.



464
465
466
# File 'lib/tep/llm.rb', line 464

def role
  @role
end

#stop_reasonObject

Returns the value of attribute stop_reason.



464
465
466
# File 'lib/tep/llm.rb', line 464

def stop_reason
  @stop_reason
end