pub struct IngestTurnResult {Show 13 fields
pub stored_ids: Vec<MemoryId>,
pub episodic_id: Option<MemoryId>,
pub inference_actions: u32,
pub detected_actions: Vec<DetectedAction>,
pub proactive_recalls: Vec<ProactiveRecall>,
pub correction_id: Option<MemoryId>,
pub sentiment: f32,
pub phantom_count: usize,
pub contradiction_count: usize,
pub predicted_topics: Vec<String>,
pub facts_extracted: usize,
pub edges_created: u32,
pub enrichment_pending: bool,
}Expand description
The write half of a turn: everything MenteDb::ingest_turn produced
after the caller’s response no longer depends on it.
Fields§
§stored_ids: Vec<MemoryId>IDs of newly stored memories this turn.
episodic_id: Option<MemoryId>The episodic memory ID for this turn.
inference_actions: u32Number of write-inference actions applied.
detected_actions: Vec<DetectedAction>Detected actions in the conversation.
proactive_recalls: Vec<ProactiveRecall>Proactively recalled memories.
correction_id: Option<MemoryId>Auto-correction memory ID if a correction was detected.
sentiment: f32Sentiment score (-1.0 to 1.0).
phantom_count: usizeNumber of phantom (knowledge gap) entities detected.
contradiction_count: usizeNumber of stream contradictions detected.
predicted_topics: Vec<String>Predicted next topics from trajectory analysis.
facts_extracted: usizeNumber of facts extracted and linked.
edges_created: u32Number of edges created from fact extraction.
enrichment_pending: boolWhether enrichment is pending (caller should invoke enrichment pipeline).
Trait Implementations§
Source§impl Clone for IngestTurnResult
impl Clone for IngestTurnResult
Source§fn clone(&self) -> IngestTurnResult
fn clone(&self) -> IngestTurnResult
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 IngestTurnResult
impl RefUnwindSafe for IngestTurnResult
impl Send for IngestTurnResult
impl Sync for IngestTurnResult
impl Unpin for IngestTurnResult
impl UnsafeUnpin for IngestTurnResult
impl UnwindSafe for IngestTurnResult
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