Skip to content

docs: PLAN-v0.30 hybrid LLM knowledge-graph upgrade#9

Merged
SonAIengine merged 1 commit into
mainfrom
docs/plan-hybrid-llm-graph
Jun 29, 2026
Merged

docs: PLAN-v0.30 hybrid LLM knowledge-graph upgrade#9
SonAIengine merged 1 commit into
mainfrom
docs/plan-hybrid-llm-graph

Conversation

@SonAIengine

Copy link
Copy Markdown
Contributor

Adds docs/PLAN-v0.30-hybrid-llm-graph.md — a design plan for adding an opt-in LLM semantic layer (OpenIE entity/relation extraction via a local model) on top of the existing deterministic structural core.

Key properties:

  • ADD-only / structural precedence — never mutates REFERENCES/CONTAINS edges (finreg-73% strength stays intact); all LLM output tagged _openie and revertible.
  • Two-flag opt-in (llm + openie_enabled); default path stays byte-for-byte zero-LLM (regression-gated).
  • Closes the entity-composition multi-hop gap (MuSiQue R@5 0.453 → ≥0.60).
  • Phased roadmap (P0/P1/P2), eval gates, 10TB selective-extraction cost model, risk register.
  • Grounded in source (file:line anchors); surfaced a real split-hub id bug + a provider determinism gap as prerequisites.

🤖 Generated with Claude Code

Design plan for a hybrid graph: deterministic structural core (default, zero-LLM, replay-safe) + an opt-in LLM semantic layer (OpenIE entity/relation triples via a local model) that closes the entity-composition multi-hop gap. ADD-only with structural precedence, so the existing REFERENCES/CONTAINS edges and the bit-identical default are never touched. Grounded in source; includes phased roadmap, eval gates, 10TB cost model, and risk register.
@SonAIengine SonAIengine merged commit 398c3c6 into main Jun 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant