Skip to main content

Crate klieo_memory_graph

Crate klieo_memory_graph 

Source
Expand description

klieo-memory-graphKnowledgeGraph trait surface + InMemoryGraph.

Stable at 1.x. Trait freeze contract recorded in ADR-039 (docs/adr/adr-039-graphrag-1-0-promotion.md).

Re-exports§

pub use path::PathHop;
pub use path::RetrievalPath;
pub use traits::EntityExtractor;
pub use traits::FilterableLongTermMemory;
pub use traits::IndexEntry;
pub use traits::KnowledgeGraph;
pub use types::known_epoch;
pub use types::EdgeKind;
pub use types::EntityRef;
pub use types::EntityType;
pub use types::GraphEdge;
pub use types::GraphNode;
pub use types::GraphView;
pub use in_memory::InMemoryGraph;
pub use metrics::RecallMetrics;
pub use metrics::RecallSnapshot;

Modules§

in_memory
InMemoryGraph — petgraph StableGraph-backed KnowledgeGraph impl.
metrics
Retrieval quality metrics — hit-rate, projector lag, and graph candidate-set size counters.
path
Retrieval-path types — graph-traversal output, optionally enriched with a provenance anchor on each hop.
traits
Trait surface for graph-aware memory.
types
Entity type system for graph indexing.

Structs§

ChainEntry
One entry in the append-only chain.