Class: RCrewAI::Memory::ShortTermMemory
- Inherits:
-
BaseMemory
- Object
- BaseMemory
- RCrewAI::Memory::ShortTermMemory
- Defined in:
- lib/rcrewai/memory/short_term_memory.rb
Overview
Recent executions with semantic recall. Capped and volatile-by-default.
Instance Method Summary collapse
-
#initialize(scope:, embedder: nil, store: nil, limit: 100) ⇒ ShortTermMemory
constructor
A new instance of ShortTermMemory.
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 |