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§impl Debug for MemorySearchOptions
impl Debug for MemorySearchOptions
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