pub struct NoExtraction;Expand description
Says nothing, so the model is never told to write memories down.
The second implementation, and a real configuration: a deployment that curates memories itself does not want the model appending to them, and switching the feature off entirely also switches off recall of what is already there.
Trait Implementations§
Source§impl ExtractionPolicy for NoExtraction
impl ExtractionPolicy for NoExtraction
Source§fn instructions(&self, _memory_dir: &Path) -> String
fn instructions(&self, _memory_dir: &Path) -> String
The instructions that go into the system prompt.
Auto Trait Implementations§
impl Forget for NoExtraction
impl Freeze for NoExtraction
impl Move for NoExtraction
impl RefUnwindSafe for NoExtraction
impl Send for NoExtraction
impl Sync for NoExtraction
impl Unpin for NoExtraction
impl UnsafeUnpin for NoExtraction
impl UnwindSafe for NoExtraction
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