Expand description
Graph-backed memory using Grafeo embedded graph database.
Optional feature: enable with features = ["graph"] in Cargo.toml.
§Schema (v2)
(:Memory {id, content, mem_type, confidence, created_at, updated_at,
last_validated_at, decay_rate, embedding_model_version})
-[:RELATES_TO {relationship, weight}]-> (:Memory)
(:Session {session_id, started_at, model, turns})
-[:PRODUCED]-> (:Memory)
(:Topic {name})
-[:TAGGED]-> (:Memory)
(:SchemaVersion {singleton, version, migrated_at, code_version})Re-exports§
pub use crate::graph_migrate;pub use crate::graph_migrate::effective_confidence;pub use crate::graph_migrate::VersionCheck;pub use crate::graph_migrate::CURRENT_SCHEMA_VERSION;
Structs§
- Graph
Memory - Graph-backed memory store.
- Graph
Stats - Stats about the graph memory store.
Functions§
- is_
graph_ available - Check if graph memory is available (compiled with the feature).