LLMMemoryReranker
Use one structured listwise generation request to select Memory hits.
Attributes
attributepolicy_id= MEMORY_RERANK_INSTRUCTIONS_VERSIONattributesupports_atomic_memory= TrueFunctions
constructor__init__(generator) -> NoneparamgeneratorStructuredGenerator[MemoryRerankInput, MemoryRerankOutput]Returns
Nonefuncreceipt_configuration() -> dict[str, object]Returns
dict[str, object]funcrerank(query, candidates, limit) -> MemoryRerankDecisionGenerate and normalize a sparse selection from the coarse ranks.
paramquerystrparamcandidatestuple[MemoryRerankText, ...]paramlimitintReturns
powercontext.builtin.artifacts.memory.reranking.MemoryRerankDecision
