Skip to main content

Interface: RRFResult

Defined in: packages/agentos/src/memory/retrieval/hybrid/reciprocalRankFusion.ts:63

One merged result from reciprocalRankFusion.

Properties

denseRank?

optional denseRank: number

Defined in: packages/agentos/src/memory/retrieval/hybrid/reciprocalRankFusion.ts:68

Rank in the dense list (undefined if doc was sparse-only).


id

id: string

Defined in: packages/agentos/src/memory/retrieval/hybrid/reciprocalRankFusion.ts:64


score

score: number

Defined in: packages/agentos/src/memory/retrieval/hybrid/reciprocalRankFusion.ts:66

Fused score; higher = more relevant.


sparseRank?

optional sparseRank: number

Defined in: packages/agentos/src/memory/retrieval/hybrid/reciprocalRankFusion.ts:70

Rank in the sparse list (undefined if doc was dense-only).