Class: Geminize::Models::ModelMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/geminize/models/message.rb

Overview

Represents a message from the model

Instance Method Summary collapse

Constructor Details

#initialize(content, timestamp = nil) ⇒ ModelMessage

Initialize a new model message

Parameters:

  • content (String)

    The content of the message

  • timestamp (Time, nil) (defaults to: nil)

    When the message was created



135
136
137
# File 'lib/geminize/models/message.rb', line 135

def initialize(content, timestamp = nil)
  super(content, "model", timestamp)
end