Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/memory / / fuseRrf
Function: fuseRrf()
ts
function fuseRrf<TRecord>(lists, k): readonly MemoryHit<TRecord>[];Defined in: packages/memory/src/search/rrf.ts:65
Pure functional core of the RRF reranker. Exported separately so the test suite (and the property-based fuzzer) can exercise the math without the Promise<…> wrapping of the public surface.
Type Parameters
| Type Parameter |
|---|
TRecord extends MemoryRecord |
Parameters
| Parameter | Type |
|---|---|
lists | readonly readonly MemoryHit<TRecord>[][] |
k | number |
Returns
readonly MemoryHit<TRecord>[]