Skip to content

v0.3.0 — Self-optimizing RAG

Choose a tag to compare

@takyone takyone released this 11 Apr 08:10
· 118 commits to main since this release

What's New

Citation & Source Tracking

  • Source model for tracking where knowledge comes from (URL, paper, file)
  • spkt add --source-url attaches sources to neurons for citation
  • spkt learn <url-or-path> ingests content and creates Source records
  • QABot answers now include source URLs for proper citation

Community Detection

  • Louvain-based community detection via spkt communities --detect
  • Community-boosted retrieve: top hits from the same cluster get a score boost
  • spkt inspect --json includes community_id and sources[]

Visualization Upgrade

  • Community-based node coloring (falls back to domain when no communities)
  • Node size reflects stability + centrality (not just pressure)
  • HTML legend showing community colors and member counts

New CLI Commands

  • spkt communities — show/detect knowledge graph communities
  • spkt learn — ingest source content for agent-driven chunking

Agent Skills

  • QABot skill: citation format using Source metadata
  • Learn skill: source ingestion flow with spkt learn

Stats

  • 207 tests passing
  • 11 issues closed