Interface MemoryGraphConfig

interface MemoryGraphConfig {
    backend: "graphology" | "knowledge-graph";
    maxDepth: number;
    decayPerHop: number;
    activationThreshold: number;
    hebbianLearningRate: number;
}

Properties

backend: "graphology" | "knowledge-graph"

Which backend to use.

Default

'knowledge-graph'
maxDepth: number

Max hops for spreading activation.

Default

3
decayPerHop: number

Activation decay per hop.

Default

0.5
activationThreshold: number

Minimum activation to continue spreading.

Default

0.1
hebbianLearningRate: number

Hebbian learning rate for co-activation edge strengthening.

Default

0.1