pub struct EngineReranker { /* private fields */ }Expand description
Second-stage reranker calling the configured /rerank model on the top
candidates. Any failure is a no-op (graceful degradation).
Implementations§
Source§impl EngineReranker
impl EngineReranker
pub fn new(cfg: &EmbedConfig) -> EngineReranker
Trait Implementations§
Source§impl Reranker for EngineReranker
impl Reranker for EngineReranker
Auto Trait Implementations§
impl Freeze for EngineReranker
impl RefUnwindSafe for EngineReranker
impl Send for EngineReranker
impl Sync for EngineReranker
impl Unpin for EngineReranker
impl UnsafeUnpin for EngineReranker
impl UnwindSafe for EngineReranker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more