pub enum MemoryType {
ShortTerm,
LongTerm,
Episodic,
Semantic,
}Expand description
Memory type classification
Variants§
ShortTerm
Recent conversation (short-term)
LongTerm
Persistent knowledge (long-term)
Episodic
Specific events/experiences
Semantic
Facts and concepts
Trait Implementations§
Source§impl Clone for MemoryType
impl Clone for MemoryType
Source§fn clone(&self) -> MemoryType
fn clone(&self) -> MemoryType
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 MemoryType
impl Debug for MemoryType
Source§impl Default for MemoryType
impl Default for MemoryType
Source§fn default() -> MemoryType
fn default() -> MemoryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryType
impl<'de> Deserialize<'de> for MemoryType
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
Source§impl PartialEq for MemoryType
impl PartialEq for MemoryType
Source§impl Serialize for MemoryType
impl Serialize for MemoryType
impl Copy for MemoryType
impl Eq for MemoryType
impl StructuralPartialEq for MemoryType
Auto Trait Implementations§
impl Freeze for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnsafeUnpin for MemoryType
impl UnwindSafe for MemoryType
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