Skip to main content

run_extraction_pass

Function run_extraction_pass 

Source
pub fn run_extraction_pass(
    store: &SqliteGraphStore,
    agent_id: &str,
) -> ExtractionReport
Expand description

Convenience wrapper for one-off extraction. Creates a fresh GraphExtractorTask with a new crate::PersonaSignalExtractorState on each call, so streak-based detectors (brevity, formality) cannot fire across invocations. For long-running agent loops, instantiate GraphExtractorTask directly and call GraphExtractorTask::run_pass to preserve streak state between passes.