Module forgetting_job

Module forgetting_job 

Source
Expand description

Forgetting and Memory Cleanup Job

This module implements an automatic cleanup job for processing memory decay and forgetting based on the Ebbinghaus forgetting curve. It extends the existing consolidation job infrastructure with forgetting-specific logic.

Key features:

  • Ebbinghaus forgetting curve-based decay calculation
  • Tier-specific decay rate multipliers
  • Reinforcement learning for dynamic importance scoring
  • Configurable hard deletion of forgotten memories
  • Performance metrics and monitoring

Structs§

ForgettingBatchResult
Batch processing result for forgetting operations
ForgettingJob
Background forgetting job runner
ForgettingJobConfig
Configuration for the forgetting background job
ForgettingJobResult
Result of a forgetting job run
ForgettingPerformanceMetrics
Performance metrics for forgetting processing

Functions§

spawn_forgetting_job
Async function to run forgetting job in the background