Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/memory / / FitFusionCase

Interface: FitFusionCase<TRecord>

Defined in: packages/memory/src/search/fit-weights.ts:22

One labelled query: per-kind candidate lists + the relevant ids.

Type Parameters

Type ParameterDefault type
TRecord extends MemoryRecordMemoryRecord

Properties

PropertyModifierTypeDescriptionDefined in
ftsreadonlyreadonly MemoryHit<TRecord>[]FTS candidate list, best-first (as the store returns it).packages/memory/src/search/fit-weights.ts:24
relevantIdsreadonlyreadonly string[]Ids judged relevant for this query (binary gain).packages/memory/src/search/fit-weights.ts:28
vectorreadonlyreadonly MemoryHit<TRecord>[]Vector candidate list, best-first.packages/memory/src/search/fit-weights.ts:26