Skip to main content

Module knowledge_provider_extract

Module knowledge_provider_extract 

Source
Expand description

Knowledge auto-extraction from provider data (issues, PRs, DB schemas).

Converts external ContentChunks into knowledge facts that flow into the ProjectKnowledge system. This implements the “Sleep Replay” pattern from hippocampal consolidation: raw episodic data is transformed into semantic long-term knowledge.

Extraction rules:

  • Issues with labels → known_bugs, known_features, known_issues
  • PRs → recent_changes, active_branches
  • DB schemas → data_model facts
  • Wiki pages → documentation facts

Structs§

ExtractedFact
A knowledge fact extracted from provider data, ready for ProjectKnowledge.remember().

Functions§

extract_facts
Extract knowledge facts from a set of ContentChunks.