pub struct RememberOptions {
pub extract_entities: bool,
pub track_evolution: bool,
pub importance: f32,
pub generate_embeddings: bool,
}Expand description
Options for remember operations.
TigerStyle: Builder pattern with defaults.
Fields§
§extract_entities: boolWhether to extract entities using LLM (default: true)
track_evolution: boolWhether to track evolution with existing memories (default: true)
importance: f32Importance score 0.0-1.0 (default: 0.5)
generate_embeddings: boolWhether to generate embeddings for entities (default: true)
Implementations§
Source§impl RememberOptions
impl RememberOptions
Sourcepub fn without_extraction(self) -> Self
pub fn without_extraction(self) -> Self
Disable entity extraction.
Sourcepub fn without_evolution(self) -> Self
pub fn without_evolution(self) -> Self
Disable evolution tracking.
Sourcepub fn with_importance(self, importance: f32) -> Self
pub fn with_importance(self, importance: f32) -> Self
Sourcepub fn with_embeddings(self) -> Self
pub fn with_embeddings(self) -> Self
Enable embedding generation (default).
Sourcepub fn without_embeddings(self) -> Self
pub fn without_embeddings(self) -> Self
Disable embedding generation.
Trait Implementations§
Source§impl Clone for RememberOptions
impl Clone for RememberOptions
Source§fn clone(&self) -> RememberOptions
fn clone(&self) -> RememberOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RememberOptions
impl Debug for RememberOptions
Auto Trait Implementations§
impl Freeze for RememberOptions
impl RefUnwindSafe for RememberOptions
impl Send for RememberOptions
impl Sync for RememberOptions
impl Unpin for RememberOptions
impl UnwindSafe for RememberOptions
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