Skip to main content

Interface: SpreadingActivationConfig

Defined in: packages/agentos/src/memory/graph/IMemoryGraph.ts:54

Properties

activationThreshold?

optional activationThreshold: number

Defined in: packages/agentos/src/memory/graph/IMemoryGraph.ts:60

Minimum activation to continue spreading.

Default

0.1

decayPerHop?

optional decayPerHop: number

Defined in: packages/agentos/src/memory/graph/IMemoryGraph.ts:58

Activation decay per hop (multiplied each step).

Default

0.5

maxDepth?

optional maxDepth: number

Defined in: packages/agentos/src/memory/graph/IMemoryGraph.ts:56

Maximum hops from seed nodes.

Default

3

maxResults?

optional maxResults: number

Defined in: packages/agentos/src/memory/graph/IMemoryGraph.ts:62

Maximum activated nodes to return.

Default

20