Class: Tep::Llm::Response
- Inherits:
-
Object
- Object
- Tep::Llm::Response
- Defined in:
- lib/tep/llm.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#role ⇒ Object
Returns the value of attribute role.
-
#stop_reason ⇒ Object
Returns the value of attribute stop_reason.
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize ⇒ Response
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
#content ⇒ Object
Returns the value of attribute content.
496 497 498 |
# File 'lib/tep/llm.rb', line 496 def content @content end |
#role ⇒ Object
Returns the value of attribute role.
496 497 498 |
# File 'lib/tep/llm.rb', line 496 def role @role end |
#stop_reason ⇒ Object
Returns the value of attribute stop_reason.
496 497 498 |
# File 'lib/tep/llm.rb', line 496 def stop_reason @stop_reason end |