memoryscope.core.worker.frontend.fuse_rerank_worker
- class memoryscope.core.worker.frontend.fuse_rerank_worker.FuseRerankWorker(embedding_model: str = '', generation_model: str = '', rank_model: str = '', **kwargs)[source]
Bases:
MemoryBaseWorker
Reranks the memory nodes by scores, types, and temporal relevance. Formats the top-K reranked nodes to print.
- static match_node_time(extract_time_dict: Dict[str, str], node: MemoryNode)[source]
Determines whether the node is relevant.