Skip to content

symfonic.memory.models.edge

edge

MemoryEdge model -- represents a directed relationship between two nodes.

MemoryEdge

Bases: BaseModel

A directed edge in the tenant-scoped memory graph.

Edges represent typed relationships between MemoryNodes, such as 'KNOWS', 'USED_IN', 'TRIGGERED_BY', etc. Weight can be used to express relationship strength.