Class: LLMs::Stream::Events::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/llms/stream/events.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



6
7
8
# File 'lib/llms/stream/events.rb', line 6

def initialize
  @timestamp = Time.now
end

Instance Attribute Details

#timestampObject (readonly)

Returns the value of attribute timestamp.



5
6
7
# File 'lib/llms/stream/events.rb', line 5

def timestamp
  @timestamp
end