pub struct TemporalLinkOptions {
pub window_minutes: u64,
pub max_links_per_memory: usize,
pub min_overlap_secs: Option<u64>,
pub workspace: Option<String>,
}Expand description
Configuration for temporal proximity auto-linking.
Links memories that were created close together in time, reflecting the idea that co-temporal thoughts are often related (session clustering, task batches, etc.).
Fields§
§window_minutes: u64Time window in minutes. Memories created within this window of each other will be considered for linking. Default: 30 minutes.
max_links_per_memory: usizeMaximum temporal links created per memory. Default: 5.
min_overlap_secs: Option<u64>Minimum temporal overlap in seconds. When set, only memories whose
creation times overlap within this tighter bound are linked. This can be
used to restrict linking to memories within the same “session”.
Default: None (no additional constraint beyond window_minutes).
workspace: Option<String>Restrict processing to a single workspace. None processes all workspaces.
Trait Implementations§
Source§impl Clone for TemporalLinkOptions
impl Clone for TemporalLinkOptions
Source§fn clone(&self) -> TemporalLinkOptions
fn clone(&self) -> TemporalLinkOptions
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 TemporalLinkOptions
impl Debug for TemporalLinkOptions
Auto Trait Implementations§
impl Freeze for TemporalLinkOptions
impl RefUnwindSafe for TemporalLinkOptions
impl Send for TemporalLinkOptions
impl Sync for TemporalLinkOptions
impl Unpin for TemporalLinkOptions
impl UnsafeUnpin for TemporalLinkOptions
impl UnwindSafe for TemporalLinkOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.