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.
466 467 468 469 470 |
# File 'lib/tep/llm.rb', line 466 def initialize @content = "" @role = "" @stop_reason = "" end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
464 465 466 |
# File 'lib/tep/llm.rb', line 464 def content @content end |
#role ⇒ Object
Returns the value of attribute role.
464 465 466 |
# File 'lib/tep/llm.rb', line 464 def role @role end |
#stop_reason ⇒ Object
Returns the value of attribute stop_reason.
464 465 466 |
# File 'lib/tep/llm.rb', line 464 def stop_reason @stop_reason end |