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)[源代码]
-
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)[源代码]
Determines whether the node is relevant.