pub enum ChunkKind {
Chat,
Action,
Fire,
Observation,
Correction,
JobSummary,
Context,
Rollup,
}Expand description
Categories of memory. Drives kind-filtered retrieval and per-kind retention horizons.
Variants§
Chat
A chat message between the user and an agent.
Action
An action call: attempted, completed, or denied.
Fire
A rule firing.
Observation
A runtime observation the importance scorer flagged as significant.
Correction
A user correction or override (confirmation modal Deny, “don’t do that again” chat message, etc.). Highest-signal kind. Never auto-evicted.
JobSummary
End-of-session synthesis: goal, plan, actions, outcome, surprises.
Context
File / app / URL focus episode.
Rollup
A rollup that covers many other chunks. Linked via the summary-members table in the storage layer.
Trait Implementations§
impl Copy for ChunkKind
Source§impl<'de> Deserialize<'de> for ChunkKind
impl<'de> Deserialize<'de> for ChunkKind
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChunkKind
impl StructuralPartialEq for ChunkKind
Auto Trait Implementations§
impl Freeze for ChunkKind
impl RefUnwindSafe for ChunkKind
impl Send for ChunkKind
impl Sync for ChunkKind
impl Unpin for ChunkKind
impl UnsafeUnpin for ChunkKind
impl UnwindSafe for ChunkKind
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