pub struct LoadMemoryTool;Expand description
Tool that searches the agent’s memory store.
When the model needs to recall previously stored information, it can call this tool with a search query.
Implementations§
Trait Implementations§
Source§impl Clone for LoadMemoryTool
impl Clone for LoadMemoryTool
Source§fn clone(&self) -> LoadMemoryTool
fn clone(&self) -> LoadMemoryTool
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 LoadMemoryTool
impl Debug for LoadMemoryTool
Source§impl Default for LoadMemoryTool
impl Default for LoadMemoryTool
Source§fn default() -> LoadMemoryTool
fn default() -> LoadMemoryTool
Returns the “default value” for a type. Read more
Source§impl ToolFunction for LoadMemoryTool
impl ToolFunction for LoadMemoryTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable description of what this tool does.
Source§fn parameters(&self) -> Option<Value>
fn parameters(&self) -> Option<Value>
JSON Schema for the tool’s input parameters, or
None if parameterless.Auto Trait Implementations§
impl Freeze for LoadMemoryTool
impl RefUnwindSafe for LoadMemoryTool
impl Send for LoadMemoryTool
impl Sync for LoadMemoryTool
impl Unpin for LoadMemoryTool
impl UnsafeUnpin for LoadMemoryTool
impl UnwindSafe for LoadMemoryTool
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