pub struct SessionDistiller { /* private fields */ }Implementations§
Source§impl SessionDistiller
impl SessionDistiller
pub fn new(providers: Arc<ProviderRegistry>) -> Self
pub fn with_threshold( providers: Arc<ProviderRegistry>, importance_threshold: f64, ) -> Self
pub async fn distill( &self, session_id: &str, conversation: &[String], ) -> MemoryResult<DistillationReport>
Auto Trait Implementations§
impl Freeze for SessionDistiller
impl !RefUnwindSafe for SessionDistiller
impl Send for SessionDistiller
impl Sync for SessionDistiller
impl Unpin for SessionDistiller
impl UnsafeUnpin for SessionDistiller
impl !UnwindSafe for SessionDistiller
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