- rerank_services.py:纯服务层,只负责调用 rerank server - rag/rerank.py:业务逻辑层,负责文档处理、排序、top_n - 更新 pipeline.py 使用新架构 - 架构与 embedding_services.py 保持一致