pub struct ContextualCompressionRetriever { /* private fields */ }Expand description
A retriever that retrieves documents from a base retriever and then compresses/filters them using a DocumentCompressor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextualCompressionRetriever
impl !RefUnwindSafe for ContextualCompressionRetriever
impl Send for ContextualCompressionRetriever
impl Sync for ContextualCompressionRetriever
impl Unpin for ContextualCompressionRetriever
impl UnsafeUnpin for ContextualCompressionRetriever
impl !UnwindSafe for ContextualCompressionRetriever
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