pub enum RecallView {
Head,
ZoomIn,
ZoomOut,
}Expand description
Enrichment level for view-aware graph recall.
Controls whether and how graph facts are enriched after the base retrieval step
(BFS or spreading activation). For Head, the function is byte-identical to
the legacy recall_graph / recall_graph_activated paths.
TODO(F3): add a per-call override so callers can request a different view than
the one configured in MemCotConfig::recall_view.
§Examples
use zeph_memory::RecallView;
assert_eq!(RecallView::default(), RecallView::Head);Variants§
Head
Standard retrieval — no enrichment beyond what the base method provides.
When sa_params = None AND view = Head, the output is byte-identical to
calling recall_graph directly.
ZoomIn
Retrieval + source-message provenance.
Each returned fact is enriched with the MessageId and a ≤200-char snippet
from the message that originally created the edge.
ZoomOut
Retrieval + 1-hop neighbor expansion.
For each returned fact, up to neighbor_cap additional 1-hop neighbor facts
are appended. Neighbors are deduped against the head set using the canonical
(source_name, relation, target_name, edge_type) tuple.
Trait Implementations§
Source§impl Clone for RecallView
impl Clone for RecallView
Source§fn clone(&self) -> RecallView
fn clone(&self) -> RecallView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecallView
impl Debug for RecallView
Source§impl Default for RecallView
impl Default for RecallView
Source§fn default() -> RecallView
fn default() -> RecallView
Source§impl PartialEq for RecallView
impl PartialEq for RecallView
Source§fn eq(&self, other: &RecallView) -> bool
fn eq(&self, other: &RecallView) -> bool
self and other values to be equal, and is used by ==.impl Copy for RecallView
impl Eq for RecallView
impl StructuralPartialEq for RecallView
Auto Trait Implementations§
impl Freeze for RecallView
impl RefUnwindSafe for RecallView
impl Send for RecallView
impl Sync for RecallView
impl Unpin for RecallView
impl UnsafeUnpin for RecallView
impl UnwindSafe for RecallView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request