class Riffer::Messages::System
Represents a system message (instructions) in a conversation.
msg = Riffer::Messages::System.new("You are a helpful assistant.") msg.role # => :system msg.content # => "You are a helpful assistant."
Public Instance Methods
Source
# File lib/riffer/messages/system.rb, line 19 def +(other) self.class.new("#{content}\n\n#{other.content}") end