#[non_exhaustive]pub struct ReconstructedBelief {
pub cue: String,
pub summary: String,
pub source_ids: Vec<Uuid>,
pub linked_context_ids: Vec<Uuid>,
pub confidence: f32,
}Expand description
v0.5.1 — a reconstructed belief-state node (MRAgent, arXiv:2606.06036).
Produced by the reconstruct recall strategy. Rather than returning
the top-k hits alone, the strategy walks the memory graph from those
hits to gather linked/causal context and synthesises a deterministic
summary the caller receives ALONGSIDE the raw memories. The synthesis
is rule-based (no LLM), so the same inputs always yield the same node —
it is an honest substrate for A/B-ing reconstruction vs. retrieval on
your own data, not a claim that retrieval is wrong.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cue: StringThe cue (query) the belief was reconstructed for.
summary: StringDeterministic summary: direct evidence (the retrieved hits) followed by the linked/causal context gathered from the memory graph.
source_ids: Vec<Uuid>Ids of the retrieved candidates that seeded the reconstruction.
linked_context_ids: Vec<Uuid>Ids of graph-linked memories pulled in as causal/linked context
(not present in source_ids).
confidence: f32Mean retrieval score of the source hits — a coarse confidence proxy.
Trait Implementations§
Source§impl Clone for ReconstructedBelief
impl Clone for ReconstructedBelief
Source§fn clone(&self) -> ReconstructedBelief
fn clone(&self) -> ReconstructedBelief
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 ReconstructedBelief
impl Debug for ReconstructedBelief
Source§impl<'de> Deserialize<'de> for ReconstructedBelief
impl<'de> Deserialize<'de> for ReconstructedBelief
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ReconstructedBelief
impl RefUnwindSafe for ReconstructedBelief
impl Send for ReconstructedBelief
impl Sync for ReconstructedBelief
impl Unpin for ReconstructedBelief
impl UnsafeUnpin for ReconstructedBelief
impl UnwindSafe for ReconstructedBelief
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
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 more