pub enum AinlNodeType {
Episode {
turn_id: Uuid,
agent_id: String,
tool_calls: Vec<String>,
delegation_to: Option<String>,
trace_id: Option<String>,
depth: u32,
},
Semantic {
fact: String,
confidence: f32,
source_turn: Uuid,
},
Procedural {
pattern_name: String,
compiled_graph: Vec<u8>,
},
Persona {
trait_name: String,
strength: f32,
learned_from: Vec<Uuid>,
},
}Expand description
Core AINL node types - the vocabulary of agent memory
Variants§
Episode
Episodic memory: what happened during an agent turn
Fields
Semantic
Semantic memory: facts learned, with confidence
Procedural
Procedural memory: reusable compiled workflow patterns
Persona
Persona memory: traits learned over time
Trait Implementations§
Source§impl Clone for AinlNodeType
impl Clone for AinlNodeType
Source§fn clone(&self) -> AinlNodeType
fn clone(&self) -> AinlNodeType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AinlNodeType
impl Debug for AinlNodeType
Source§impl<'de> Deserialize<'de> for AinlNodeType
impl<'de> Deserialize<'de> for AinlNodeType
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
Auto Trait Implementations§
impl Freeze for AinlNodeType
impl RefUnwindSafe for AinlNodeType
impl Send for AinlNodeType
impl Sync for AinlNodeType
impl Unpin for AinlNodeType
impl UnsafeUnpin for AinlNodeType
impl UnwindSafe for AinlNodeType
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