Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/memory / / ReRankOptions

Interface: ReRankOptions

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

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

Stable

Properties

PropertyModifierTypeDescriptionDefined in
labels?readonlyreadonly string[]Stable per-list labels for the explanation signals (MRET-13) - rrf.<label> instead of the ephemeral rrf.list_<index>. Callers that fan lists out conditionally (multi-query, HyDE, graph) pass retriever-kind labels so X-3 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:49
signal?readonlyAbortSignal-packages/memory/src/search/types.ts:40
topK?readonlynumber-packages/memory/src/search/types.ts:39