pub struct Keep {
pub document_id: String,
pub kind: &'static str,
pub session: String,
pub through: String,
pub source: String,
pub context: String,
pub recalled_ids: Vec<String>,
pub recalled_text: String,
}Expand description
One keep: the facts distilled from source replace the claim document_id, which records that it covers the
session up to through.
Fields§
§document_id: String§kind: &'static strtail or summary, as the log names it.
session: String§through: String§source: StringThe conversation (a tail) or the compaction summary the facts are quoted from.
context: String§recalled_ids: Vec<String>The memories the context showed for source: their ids, and their text as the model saw them.
recalled_text: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for Keep
impl Freeze for Keep
impl Move for Keep
impl RefUnwindSafe for Keep
impl Send for Keep
impl Sync for Keep
impl Unpin for Keep
impl UnsafeUnpin for Keep
impl UnwindSafe for Keep
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