Expand description
klieo-graph-projector — continuous-learning bridge from
klieo_core::memory::EpisodicMemory to
klieo_memory_graph::KnowledgeGraph.
Two entry points:
ProjectableEpisodic— drop-in wrapper around anyArc<dyn EpisodicMemory>that broadcasts each recorded(RunId, Episode)pair on atokio::sync::broadcastchannel. The wrapped store is the single source of truth; the broadcast is a side-effect for subscribers and never causesrecord()to fail.EpisodeProjector— broadcast subscriber that translates each episode into typed entities (via anklieo_memory_graph::EntityExtractor) and writesMENTIONED_INedges into aklieo_memory_graph::KnowledgeGraph. Also offersproject_run()for on-demand batch replay of historical episodes.
Stable at 1.x. Trait freeze contract recorded in
ADR-039.
Re-exports§
pub use error::ProjectionError;pub use extractors::HintsOnlyExtractor;pub use projectable::ProjectableEpisodic;pub use projector::EpisodeProjector;pub use projector::EpisodeProjectorBuilder;pub use rules::entities_for_episode;
Modules§
- error
- Typed error returned by
crate::EpisodeProjectoroperations. - extractors
EntityExtractorimpls bundled with the projector.- projectable
EpisodicMemorywrapper that broadcasts every recorded(RunId, Episode)pair on atokio::sync::broadcastchannel.- projector
EpisodeProjector— broadcast subscriber that translates each recordedEpisodeinto typed entities and indexes them into aKnowledgeGraph.- rules
- Static rules that map each
Episodevariant to a hint set ofEntityRefs suitable for indexing into aklieo_memory_graph::KnowledgeGraph.