Skip to main content

Interface: TypedEdge

Defined in: packages/agentos/src/memory/retrieval/typed-network/types.ts:123

Typed edge between two facts in the network graph. Direction matters for causal edges (premise → conclusion); other kinds are bidirectional and stored as a pair of edges.

Properties

fromFactId

fromFactId: string

Defined in: packages/agentos/src/memory/retrieval/typed-network/types.ts:125

Source fact ID.


kind

kind: "entity" | "semantic" | "temporal" | "causal"

Defined in: packages/agentos/src/memory/retrieval/typed-network/types.ts:129

Edge kind — drives μ(ℓ) multiplier in spreading activation.


toFactId

toFactId: string

Defined in: packages/agentos/src/memory/retrieval/typed-network/types.ts:127

Target fact ID.


weight

weight: number

Defined in: packages/agentos/src/memory/retrieval/typed-network/types.ts:131

Edge weight. Composed with decay δ and μ(ℓ) at activation time.