pub struct FiveSignalConsolidationConfig {
pub enabled: bool,
pub interval_seconds: u64,
pub batch_size: usize,
pub daemon_max_runtime_ms: u64,
pub promotion_score_threshold: f64,
pub demotion_score_threshold: f64,
pub top_k_per_run: usize,
}Expand description
Async consolidation daemon configuration for five-signal retrieval (issue #4374).
When enabled = true, a background task runs at interval_seconds intervals,
evaluates the top top_k_per_run episodic facts by five-signal score, promotes
facts above promotion_score_threshold to Qdrant, and demotes facts below
demotion_score_threshold to episodic_only tier.
§Example (TOML)
[memory.five_signal.consolidation_daemon]
enabled = true
interval_seconds = 7200
batch_size = 500
promotion_score_threshold = 0.70
demotion_score_threshold = 0.20Fields§
§enabled: boolEnable the daemon. Requires the scheduler feature. Default: false.
interval_seconds: u64Interval between daemon runs in seconds. Default: 7200 (2 hours).
batch_size: usizeMaximum facts processed (embed + upsert) per run. Default: 500.
daemon_max_runtime_ms: u64Hard timeout per run in milliseconds. Default: 30000.
promotion_score_threshold: f64Five-signal score above which a fact is promoted to Qdrant. Default: 0.70.
demotion_score_threshold: f64Five-signal score below which a promoted fact is demoted. Default: 0.20.
top_k_per_run: usizeNumber of episodic facts queried per run (SQL LIMIT). Must be >= batch_size.
Default: 500.
Trait Implementations§
Source§impl Clone for FiveSignalConsolidationConfig
impl Clone for FiveSignalConsolidationConfig
Source§fn clone(&self) -> FiveSignalConsolidationConfig
fn clone(&self) -> FiveSignalConsolidationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more