pub struct Semantic {
pub s: SymbolId,
pub p: SymbolId,
pub o: Value,
pub source: SymbolId,
pub confidence: Confidence,
pub valid_at: ClockTime,
}Expand description
A Semantic memory — a general fact about the world.
Canonical examples: entity attributes, relationships, category
memberships. See memory-type-taxonomy.md § 3.1.
Fields§
§s: SymbolIdSubject.
p: SymbolIdPredicate.
o: ValueObject — may be a symbol, literal value, or timestamp.
source: SymbolIdGrounding source.
confidence: ConfidenceStored confidence at write time.
valid_at: ClockTimeWhen the fact became true in the world.
Trait Implementations§
impl StructuralPartialEq for Semantic
Auto Trait Implementations§
impl Freeze for Semantic
impl RefUnwindSafe for Semantic
impl Send for Semantic
impl Sync for Semantic
impl Unpin for Semantic
impl UnsafeUnpin for Semantic
impl UnwindSafe for Semantic
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