Class: Rubyagents::UserMessage
- Inherits:
-
Data
- Object
- Data
- Rubyagents::UserMessage
- Defined in:
- lib/rubyagents/memory.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
29 30 31 |
# File 'lib/rubyagents/memory.rb', line 29 def content @content end |
Instance Method Details
#to_h ⇒ Object
30 31 32 |
# File 'lib/rubyagents/memory.rb', line 30 def to_h { type: "user_message", content: content } end |