pub struct SkillConfig {Show 13 fields
pub min_observations: u32,
pub max_skills: usize,
pub max_steps_per_skill: usize,
pub min_offer_confidence: f64,
pub promotion_confidence: f64,
pub promotion_min_observations: u32,
pub promotion_min_success_rate: f64,
pub candidate_ttl_secs: f64,
pub stale_threshold_secs: f64,
pub max_sequence_gap_ms: u64,
pub auto_deprecate: bool,
pub auto_deprecate_threshold: f64,
pub auto_deprecate_min_offers: u32,
}Expand description
Configuration for the skill acquisition engine.
Fields§
§min_observations: u32Minimum times a sequence must be observed to become a candidate.
max_skills: usizeMaximum number of learned skills to retain.
max_steps_per_skill: usizeMaximum steps in a single skill (prevents overly long chains).
min_offer_confidence: f64Minimum confidence to offer a skill proactively.
promotion_confidence: f64Minimum confidence and observations for ActionSchema promotion.
promotion_min_observations: u32Minimum observations for promotion.
promotion_min_success_rate: f64Minimum success rate for promotion.
candidate_ttl_secs: f64Age in seconds after which an unused candidate is pruned.
stale_threshold_secs: f64Age in seconds after which an unused validated skill becomes stale.
max_sequence_gap_ms: u64Maximum gap between events to consider them part of the same sequence (ms).
auto_deprecate: boolWhether to auto-deprecate skills with very low acceptance rates.
auto_deprecate_threshold: f64Acceptance rate below which auto-deprecation triggers.
auto_deprecate_min_offers: u32Minimum offers before auto-deprecation can trigger.
Trait Implementations§
Source§impl Clone for SkillConfig
impl Clone for SkillConfig
Source§fn clone(&self) -> SkillConfig
fn clone(&self) -> SkillConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more