Skip to Content
Anuma SDKReactInternalFunctionsrankProfileCandidates

rankProfileCandidates

rankProfileCandidates(inputs: readonly ProfileSalienceInput[], now: number, options: ScoreProfileSalienceOptions): RankedProfileCandidate[]

Defined in: src/lib/memory/profileSalience.ts:100 

Rank vault facts by profile-worthiness (descending score). Ties broken by higher proofCount, then id ascending for stability.

Parameters

ParameterType

inputs

readonly ProfileSalienceInput[]

now

number

options

ScoreProfileSalienceOptions

Returns

RankedProfileCandidate[]

Last updated on