Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/memory / / FusionWeights
Interface: FusionWeights
Defined in: packages/memory/src/tiers/semantic-memory.ts:90
Per-list weights for FusionStrategy 'weighted' fusion (X-2), keyed by retriever kind rather than position so they survive the P2-3 multi-query fan-out (which appends extra FTS / vector candidate lists). Each defaults to the neutral 1 (≡ RRF). The HyDE list is a vector list and takes the vector weight.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
entity? | readonly | number | Weight applied to the exact entity-match candidate list (D5). Default 1. | packages/memory/src/tiers/semantic-memory.ts:103 |
fts? | readonly | number | Weight applied to every FTS5 (lexical) candidate list. Default 1. | packages/memory/src/tiers/semantic-memory.ts:92 |
graph? | readonly | number | Weight applied to the graph-expansion candidate list (D5). Default 1 (the previous neutral behaviour). Tune it once the graph leg's reliability is calibrated against labels - the roadmap's "graph as a first-class tunable fusion weight" (was hardcoded neutral). | packages/memory/src/tiers/semantic-memory.ts:101 |
vector? | readonly | number | Weight applied to every vector (incl. HyDE) candidate list. Default 1. | packages/memory/src/tiers/semantic-memory.ts:94 |