pub struct MemoryCandidate {
pub kind: MemoryKind,
pub key: String,
pub content: String,
pub confidence: f64,
pub source_session_id: String,
pub source_entry_id: String,
pub source_turn_index: usize,
}Expand description
A memory candidate extracted from session episodes.
Fields§
§kind: MemoryKindThe kind of memory this candidate represents.
key: StringA key identifying the concept or topic.
content: StringThe full content of the memory.
confidence: f64Confidence score (0.0 to 1.0).
source_session_id: StringThe session this candidate was extracted from.
source_entry_id: StringThe entry ID within the session.
source_turn_index: usizeThe turn index within the session.
Trait Implementations§
Source§impl Clone for MemoryCandidate
impl Clone for MemoryCandidate
Source§fn clone(&self) -> MemoryCandidate
fn clone(&self) -> MemoryCandidate
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 MemoryCandidate
impl RefUnwindSafe for MemoryCandidate
impl Send for MemoryCandidate
impl Sync for MemoryCandidate
impl Unpin for MemoryCandidate
impl UnsafeUnpin for MemoryCandidate
impl UnwindSafe for MemoryCandidate
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