pub struct EnsembleRetriever { /* private fields */ }Expand description
A retriever that combines results from multiple retrievers using Reciprocal Rank Fusion (RRF) with configurable weights.
Implementations§
Trait Implementations§
Source§impl Retriever for EnsembleRetriever
impl Retriever for EnsembleRetriever
Auto Trait Implementations§
impl Freeze for EnsembleRetriever
impl !RefUnwindSafe for EnsembleRetriever
impl Send for EnsembleRetriever
impl Sync for EnsembleRetriever
impl Unpin for EnsembleRetriever
impl UnsafeUnpin for EnsembleRetriever
impl !UnwindSafe for EnsembleRetriever
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