pub struct FeatureBasedRetriever;Implementations§
Source§impl FeatureBasedRetriever
impl FeatureBasedRetriever
pub fn new() -> Self
pub async fn retrieve_by_features( &self, _features: &VisualFeatureQuery, _documents: &[MultiModalDocument], ) -> RragResult<Vec<(usize, f32)>>
Auto Trait Implementations§
impl Freeze for FeatureBasedRetriever
impl RefUnwindSafe for FeatureBasedRetriever
impl Send for FeatureBasedRetriever
impl Sync for FeatureBasedRetriever
impl Unpin for FeatureBasedRetriever
impl UnwindSafe for FeatureBasedRetriever
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