xz-rerank 0.1.1

检索结果重排序 — 本地多信号融合 + 远程 Rerank API 适配
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature = "cohere")]
/// Cohere Rerank API 适配
pub mod cohere;
#[cfg(feature = "jina")]
/// Jina Reranker API 适配
pub mod jina;
/// 测试用 Mock Reranker
pub mod mock;

#[cfg(feature = "cohere")]
pub use cohere::CohereReranker;
#[cfg(feature = "jina")]
pub use jina::JinaReranker;
pub use mock::MockReranker;