pub struct SemanticMemorySearchOutcome {
pub memories: Vec<SemanticMemory>,
pub usage: Usage,
}Expand description
Semantic-memory search results plus attributable embedding/storage usage.
Fields§
§memories: Vec<SemanticMemory>Memories ordered by descending relevance.
usage: UsageQuery-embedding and storage usage attributable to this operation.
Trait Implementations§
Source§impl Clone for SemanticMemorySearchOutcome
impl Clone for SemanticMemorySearchOutcome
Source§fn clone(&self) -> SemanticMemorySearchOutcome
fn clone(&self) -> SemanticMemorySearchOutcome
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 SemanticMemorySearchOutcome
impl Debug for SemanticMemorySearchOutcome
Source§impl Default for SemanticMemorySearchOutcome
impl Default for SemanticMemorySearchOutcome
Source§fn default() -> SemanticMemorySearchOutcome
fn default() -> SemanticMemorySearchOutcome
Returns the “default value” for a type. Read more
impl StructuralPartialEq for SemanticMemorySearchOutcome
Auto Trait Implementations§
impl Freeze for SemanticMemorySearchOutcome
impl RefUnwindSafe for SemanticMemorySearchOutcome
impl Send for SemanticMemorySearchOutcome
impl Sync for SemanticMemorySearchOutcome
impl Unpin for SemanticMemorySearchOutcome
impl UnsafeUnpin for SemanticMemorySearchOutcome
impl UnwindSafe for SemanticMemorySearchOutcome
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