pub struct MultiQueryRetriever { /* private fields */ }Expand description
A retriever that generates multiple query variants using a ChatModel, runs each through a base retriever, and deduplicates results by document id.
Implementations§
Trait Implementations§
Source§impl Retriever for MultiQueryRetriever
impl Retriever for MultiQueryRetriever
Auto Trait Implementations§
impl Freeze for MultiQueryRetriever
impl !RefUnwindSafe for MultiQueryRetriever
impl Send for MultiQueryRetriever
impl Sync for MultiQueryRetriever
impl Unpin for MultiQueryRetriever
impl UnsafeUnpin for MultiQueryRetriever
impl !UnwindSafe for MultiQueryRetriever
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