Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/memory / / ReRankOptions

Interface: ReRankOptions

Defined in: packages/memory/src/search/types.ts:38

Stable

Per-call reranker options. topK defaults to 10; signal is propagated to any async work the reranker performs.

Properties

PropertyModifierTypeDescriptionDefined in
labels?readonlyreadonly string[]Stable per-list labels for the explanation signals - rrf.<label> instead of the ephemeral rrf.list_<index>. Callers that fan lists out conditionally (multi-query, HyDE, graph) pass retriever-kind labels so explanation consumers can identify which leg a contribution came from across calls. Missing entries fall back to the positional key.packages/memory/src/search/types.ts:50
signal?readonlyAbortSignal-packages/memory/src/search/types.ts:40
topK?readonlynumber-packages/memory/src/search/types.ts:39