pub struct HttpReranker { /* private fields */ }Expand description
Reranker for Cohere/Jina/Voyage-compatible APIs.
Implementations§
Source§impl HttpReranker
impl HttpReranker
pub fn new(config: HttpRerankerConfig) -> Result<Self, RagError>
Trait Implementations§
Source§impl Clone for HttpReranker
impl Clone for HttpReranker
Source§impl Debug for HttpReranker
impl Debug for HttpReranker
Auto Trait Implementations§
impl !RefUnwindSafe for HttpReranker
impl !UnwindSafe for HttpReranker
impl Forget for HttpReranker
impl Freeze for HttpReranker
impl Move for HttpReranker
impl Send for HttpReranker
impl Sync for HttpReranker
impl Unpin for HttpReranker
impl UnsafeUnpin for HttpReranker
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