pub struct MemorySearchOptions {
pub top_k: Option<usize>,
pub kinds: Vec<MemoryKind>,
pub min_score: Option<f64>,
}Expand description
Search options for an agent-bound DurableMemory descriptor.
Fields§
§top_k: Option<usize>§kinds: Vec<MemoryKind>§min_score: Option<f64>Trait Implementations§
Source§impl Clone for MemorySearchOptions
impl Clone for MemorySearchOptions
Source§fn clone(&self) -> MemorySearchOptions
fn clone(&self) -> MemorySearchOptions
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 MemorySearchOptions
impl Debug for MemorySearchOptions
Source§impl Default for MemorySearchOptions
impl Default for MemorySearchOptions
Source§fn default() -> MemorySearchOptions
fn default() -> MemorySearchOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemorySearchOptions
impl RefUnwindSafe for MemorySearchOptions
impl Send for MemorySearchOptions
impl Sync for MemorySearchOptions
impl Unpin for MemorySearchOptions
impl UnsafeUnpin for MemorySearchOptions
impl UnwindSafe for MemorySearchOptions
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