pub struct SelfQueryRetriever { /* private fields */ }Expand description
Uses a ChatModel to parse a user query into a structured query + metadata filters, then applies those filters to results from a base retriever.
Implementations§
Trait Implementations§
Source§impl Retriever for SelfQueryRetriever
impl Retriever for SelfQueryRetriever
Auto Trait Implementations§
impl Freeze for SelfQueryRetriever
impl !RefUnwindSafe for SelfQueryRetriever
impl Send for SelfQueryRetriever
impl Sync for SelfQueryRetriever
impl Unpin for SelfQueryRetriever
impl UnsafeUnpin for SelfQueryRetriever
impl !UnwindSafe for SelfQueryRetriever
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