pub struct MemoryEntry {Show 15 fields
pub agent_id: Option<String>,
pub tenant_id: Option<String>,
pub access_count: Option<i64>,
pub last_accessed_at: Option<String>,
pub metadata: Option<Map<String, Value>>,
pub run_outcome: Option<String>,
pub entity_name: Option<String>,
pub entity_type: Option<String>,
pub entry_id: String,
pub type: Option<MemoryEntryType>,
pub content: String,
pub tags: Option<Vec<String>>,
pub relevance_score: Option<f64>,
pub created_at: Option<String>,
pub source_run_id: Option<String>,
}Expand description
MemoryEntry model.
Fields§
§agent_id: Option<String>§tenant_id: Option<String>§access_count: Option<i64>§last_accessed_at: Option<String>§metadata: Option<Map<String, Value>>§run_outcome: Option<String>Present on entries written from a run (seen on some e2e-canon entries, absent on others).
entity_name: Option<String>Present on entity entries only (e2e-canon).
entity_type: Option<String>Present on entity entries only (e2e-canon).
entry_id: String§type: Option<MemoryEntryType>§content: String§relevance_score: Option<f64>§created_at: Option<String>§source_run_id: Option<String>Trait Implementations§
Source§impl Clone for MemoryEntry
impl Clone for MemoryEntry
Source§fn clone(&self) -> MemoryEntry
fn clone(&self) -> MemoryEntry
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 moreSource§impl Debug for MemoryEntry
impl Debug for MemoryEntry
Source§impl Default for MemoryEntry
impl Default for MemoryEntry
Source§fn default() -> MemoryEntry
fn default() -> MemoryEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryEntry
impl<'de> Deserialize<'de> for MemoryEntry
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 MemoryEntry
impl PartialEq for MemoryEntry
Source§impl Serialize for MemoryEntry
impl Serialize for MemoryEntry
impl StructuralPartialEq for MemoryEntry
Auto Trait Implementations§
impl Freeze for MemoryEntry
impl RefUnwindSafe for MemoryEntry
impl Send for MemoryEntry
impl Sync for MemoryEntry
impl Unpin for MemoryEntry
impl UnsafeUnpin for MemoryEntry
impl UnwindSafe for MemoryEntry
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