pub struct MemGraphFact {
pub fact: String,
pub confidence: f32,
pub activation_score: Option<f32>,
pub neighbors: Vec<MemGraphNeighbor>,
pub provenance_snippet: Option<String>,
}Expand description
A graph fact projection used by context assembly.
Fields§
§fact: StringFact text.
confidence: f32Confidence score in [0, 1].
activation_score: Option<f32>Spreading-activation score, if applicable.
neighbors: Vec<MemGraphNeighbor>ZoomOut 1-hop neighbors, if view-aware expansion was requested.
provenance_snippet: Option<String>ZoomIn provenance snippet, if view-aware provenance was requested.
Trait Implementations§
Source§impl Clone for MemGraphFact
impl Clone for MemGraphFact
Source§fn clone(&self) -> MemGraphFact
fn clone(&self) -> MemGraphFact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemGraphFact
impl RefUnwindSafe for MemGraphFact
impl Send for MemGraphFact
impl Sync for MemGraphFact
impl Unpin for MemGraphFact
impl UnsafeUnpin for MemGraphFact
impl UnwindSafe for MemGraphFact
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