Class: Tep::Llm::Message
- Inherits:
-
Object
- Object
- Tep::Llm::Message
- 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.
Instance Method Summary collapse
-
#initialize(role, content) ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(role, content) ⇒ Message
Returns a new instance of Message.
489 490 491 492 |
# File 'lib/tep/llm.rb', line 489 def initialize(role, content) @role = role @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
487 488 489 |
# File 'lib/tep/llm.rb', line 487 def content @content end |
#role ⇒ Object
Returns the value of attribute role.
487 488 489 |
# File 'lib/tep/llm.rb', line 487 def role @role end |