pub struct RecallBundle {
pub recalled: Vec<RecallHit>,
pub final_answer: String,
pub guest_token_cost: usize,
}Expand description
What the guest program produces. The CLI hands final_answer
back to the LLM; the bundle’s other fields land in the audit
trail so an offline auditor can replay the recall.
Fields§
§recalled: Vec<RecallHit>§final_answer: String§guest_token_cost: usizeEstimated token cost the guest paid talking to the host.
Compare this to [json_mode_token_estimate] to show the
savings.
Trait Implementations§
Source§impl Clone for RecallBundle
impl Clone for RecallBundle
Source§fn clone(&self) -> RecallBundle
fn clone(&self) -> RecallBundle
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 RecallBundle
impl Debug for RecallBundle
Source§impl<'de> Deserialize<'de> for RecallBundle
impl<'de> Deserialize<'de> for RecallBundle
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 RecallBundle
impl PartialEq for RecallBundle
Source§impl Serialize for RecallBundle
impl Serialize for RecallBundle
impl StructuralPartialEq for RecallBundle
Auto Trait Implementations§
impl Freeze for RecallBundle
impl RefUnwindSafe for RecallBundle
impl Send for RecallBundle
impl Sync for RecallBundle
impl Unpin for RecallBundle
impl UnsafeUnpin for RecallBundle
impl UnwindSafe for RecallBundle
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