pub enum RecallStep {
Recall {
query: String,
k: u32,
},
Score {
memory_id: String,
},
Cite {
memory_id: String,
},
}Expand description
One step a guest program asks the host to run. Mirrors the WIT
world’s store interface (recall, score, cite).
Variants§
Trait Implementations§
Source§impl Clone for RecallStep
impl Clone for RecallStep
Source§fn clone(&self) -> RecallStep
fn clone(&self) -> RecallStep
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 RecallStep
impl Debug for RecallStep
Source§impl<'de> Deserialize<'de> for RecallStep
impl<'de> Deserialize<'de> for RecallStep
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 RecallStep
impl PartialEq for RecallStep
Source§impl Serialize for RecallStep
impl Serialize for RecallStep
impl StructuralPartialEq for RecallStep
Auto Trait Implementations§
impl Freeze for RecallStep
impl RefUnwindSafe for RecallStep
impl Send for RecallStep
impl Sync for RecallStep
impl Unpin for RecallStep
impl UnsafeUnpin for RecallStep
impl UnwindSafe for RecallStep
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