pub struct DistilledMemory {
pub summary: String,
pub facts: Vec<Fact>,
}Expand description
The result of distilling a conversation transcript into durable memory.
Fields§
§summary: StringA summary of the conversation, intended to be under 150 words.
facts: Vec<Fact>Individual facts worth remembering across future sessions.
Trait Implementations§
Source§impl Clone for DistilledMemory
impl Clone for DistilledMemory
Source§fn clone(&self) -> DistilledMemory
fn clone(&self) -> DistilledMemory
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 DistilledMemory
impl Debug for DistilledMemory
Source§impl<'de> Deserialize<'de> for DistilledMemory
impl<'de> Deserialize<'de> for DistilledMemory
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 DistilledMemory
impl RefUnwindSafe for DistilledMemory
impl Send for DistilledMemory
impl Sync for DistilledMemory
impl Unpin for DistilledMemory
impl UnsafeUnpin for DistilledMemory
impl UnwindSafe for DistilledMemory
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