Skip to main content

Function: rerankerRecordOf()

rerankerRecordOf(providerId, modelId, candidates, ms): MemoryRecallReranker

Defined in: packages/agentos/src/cognition/memory/retrieval/recall/capture.ts:293

The reranker record of a rerank that answered, from the provider id and the model the provider reported: local for the cross-encoder, llm for the LLM judge, other for any other provider. For a host that records a rerank it ran itself; the manager's memory recall builds its own record from recall.rerank.

Parameters​

providerId​

string | undefined

modelId​

string | undefined

candidates​

number

ms​

number

Returns​

MemoryRecallReranker