Skip to main content

Module graph_memory

Module graph_memory 

Source
Expand description

Graph Memory System - Inspired by Graphiti

Temporal knowledge graph for tracking entities, relationships, and episodic memories. Implements bi-temporal tracking and hybrid retrieval (semantic + graph traversal).

Structs§

EntityExtractor
Simple entity extraction (rule-based NER) with salience detection
EntityNode
Entity node in the knowledge graph
EpisodicNode
Episodic node representing a discrete experience/memory
ExtractedEntity
Extracted entity with salience information
GraphMemory
Graph memory storage and operations
GraphStats
Graph statistics
GraphTraversal
Result of graph traversal
GravitationalConnection
A gravitational connection between stars (represents a relationship)
MemoryUniverse
The complete memory universe visualization
Position3D
3D position in the memory universe
RelationshipEdge
Relationship edge between entities
TraversedEntity
Entity with hop distance from traversal origin
UniverseBounds
Bounds of the memory universe
UniverseStar
A star in the memory universe (represents an entity)

Enums§

EdgeTier
Memory tier for edge consolidation
EntityLabel
Entity labels following Graphiti’s categorization
EpisodeSource
Episode source types
LtpStatus
Long-Term Potentiation status for edges (PIPE-4)
RelationType
Relationship types following Graphiti’s semantic model