Class: RCrewAI::Memory::ShortTermMemory

Inherits:
BaseMemory
  • Object
show all
Defined in:
lib/rcrewai/memory/short_term_memory.rb

Overview

Recent executions with semantic recall. Capped and volatile-by-default.

Instance Method Summary collapse

Methods inherited from BaseMemory

#clear!, #count, #recall, #record

Constructor Details

#initialize(scope:, embedder: nil, store: nil, limit: 100) ⇒ ShortTermMemory

Returns a new instance of ShortTermMemory.



9
10
11
# File 'lib/rcrewai/memory/short_term_memory.rb', line 9

def initialize(scope:, embedder: nil, store: nil, limit: 100)
  super
end