klieo-graph-projector
Episode→Graph projector — subscribes to a ProjectableEpisodic wrapper
and writes structural facts to a KnowledgeGraph so subsequent recalls
have a graph index over the run's tool calls, LLM calls, and bus
events.
Status: stable at 3.x. Trait freeze contract recorded in ADR-039.
Layers
klieo-core(Layer 0) —EpisodicMemory,Episodeklieo-memory-graph(Layer 1) —KnowledgeGraphtrait +EntityExtractorklieo-graph-projector(Layer 2) — this crate
Quickstart
[]
= "3"
= "3"
use Arc;
use ;
use ;
use KnowledgeGraph;
use CancellationToken;
#
EpisodeProjector::builder() defaults the shared RecallMetrics
counter so callers only supply the three domain-required values
(graph, extractor, scope). Override the counter via
.metrics(Arc::new(my_metrics)) when you want to read
metrics.snapshot() from an ops endpoint.
Advanced wiring — direct constructor
EpisodeProjector::new(graph, extractor, scope, metrics) stays
available for callers wanting explicit control over every argument.
License
MIT.